RAL Classic color
RAL 5003 Saphire blue #1D1E33
RAL 5003 Saphire blue is shown here as #1D1E33, a widely published sRGB approximation of the printed swatch. It is a very dark grayish blue in the blue family. In OKLCH it sits at lightness 0.245, chroma 0.040 and hue 280.9°. The nearest CSS named color is black (#000000), ΔE2000 14.1 away.
- Relative luminance
- 0.0143
- OKLCH L · C · h
- 0.245 · 0.040 · 280.9
- Best text
- White 16.33:1
- Hue family
- Blue
#1D1E33 color codes
- HEX
#1D1E33- RGB
rgb(29, 30, 51)- HSL
hsl(237, 28%, 16%)- OKLCH
oklch(0.245 0.040 280.9)- OKLab
oklab(0.245 0.008 -0.039)- CIELAB (D65)
L* 12.15, a* 5.97, b* -13.98- XYZ (D65)
X 1.57, Y 1.43, Z 3.32- CMYK (naive)
cmyk(43%, 41%, 0%, 80%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.
Legibility
Contrast: is #1D1E33 accessible?
White text on it reaches 16.33:1, passing AAA. Black text fails at 1.28:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
1.28:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc 0
Text is here, unreadable at 1.28:1
-
White text on it
16.33:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −105
-
As text on black
1.28:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc 0
Text is here, unreadable at 1.28:1
-
As text on white
16.33:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +103
Nearest versions that pass 4.5:1
-
For text on white
#1D1E33 16.33:1
It already reaches 16.33:1 on white, so no change is needed.
-
For text on black
#71748D 4.58:1
Lightening its OKLCH lightness from 0.24 to 0.56 reaches 4.58:1 on black, keeping the hue.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #1D1E33 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #1D1E33
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #1D1E33 sits at step 900.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #1D1E33 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.148; #1D1E33 uses 27% of it. Display P3 reaches no further at this hue.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.040
- sRGB edge
- 0.148
- Display P3 edge
- 0.150
- Rec. 2020 edge
- 0.161
- Dominant wavelength
- 466 nm
- Excitation purity
- 36%
- Chromaticity
- x 0.2481, y 0.2260
- This color#1D1E33
- Most vivid in sRGB#1D0063
- Most vivid in Display P3oklch(0.245 0.150 280.9)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #1d1e33;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.0998 0 0.3745); }
}
Mixing
Mixing #1D1E33
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#8E8F99
- OKLab50%#848693
- OKLCH50%#848693
Black #000000
- sRGB50%#0F0F1A
- OKLab50%#05050D
- OKLCH50%#05050D
Its complement #252108
- sRGB50%#21201E
- OKLab50%#212020
- OKLCH50%#31181C
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #1d1e33, white);
color: color-mix(in oklch, #1d1e33 50%, white);
In use
#1D1E33 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:116.33:1 Passes
- Link and body-size textText, 4.5:116.33:1 Passes
- Large headingLarge text, 3:116.33:1 Passes
- Icons, borders and focus ringsNon-text, 3:116.33:1 Passes
Dark page
- Button labelText, 4.5:116.33:1 Passes
- Link and body-size textText, 4.5:11.14:1 Fails
- Large headingLarge text, 3:11.14:1 Fails
- Icons, borders and focus ringsNon-text, 3:11.14:1 Fails
For text on this page, the nearest shade that passes is #787B95 4.51:1
Color vision
How #1D1E33 looks with color blindness
Tritanopia changes it most, ΔE2000 13.2; deuteranopia changes it least, 4.2.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#172134 ΔE2000 4.7
Close match
Reads as very dark grayish blue
-
Deuteranopia
No working green (medium-wavelength) cones
#161F32 ΔE2000 4.2
Close match
Reads as very dark grayish blue
-
Tritanopia
No working blue (short-wavelength) cones
#172226 ΔE2000 13.2
Distinct
Reads as near-black
-
Achromatopsia
No cone color vision; lightness only
#202020 ΔE2000 12.1
Distinct
Reads as near-black
Pairing check
Checked against its complement, #252108. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #1D1E33 · #252108 | 25.7 | Stays distinct |
| Protanopia | #172134 · #252006 | 23.8 | Stays distinct |
| Deuteranopia | #161F32 · #262109 | 23.6 | Stays distinct |
| Tritanopia | #172226 · #281E1C | 13.4 | Stays distinct |
| Achromatopsia | #202020 · #212121 | 0.3 | Easily confused |
Harmony
Color harmonies for #1D1E33
Its complement is #252108, a very dark grayish yellow.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#1D1E33
- Complement#252108
Complementary
Open in Harmony Studio- −30°#112233
- Base#1D1E33
- +30°#261B2E
Analogous
Open in Harmony Studio- Base#1D1E33
- +120°#301A11
- +240°#0C261A
Triadic
Open in Harmony Studio- Base#1D1E33
- +150°#2C1D09
- +210°#1A240F
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-ral-5003: #1d1e33;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ral-5003': '#1d1e33',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-ral-5003: oklch(0.245 0.040 280.9);
}
{
"color": {
"ral-5003": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.1137, 0.1176, 0.2],
"hex": "#1d1e33"
},
"$description": "RAL 5003 Saphire blue (approximate sRGB)"
}
}
}
import SwiftUI
enum Palette {
static let ral5003 = Color(.sRGB, red: 0.114, green: 0.118, blue: 0.200, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Ral5003 = Color(0xFF1D1E33)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #1D1E33 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.