#231E98#231E98
#231E98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.187 H 272.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #231E98 |
|---|---|
| RGB | rgb(35, 30, 152) |
| HSL | hsl(242, 67%, 36%) |
| HSV | hsv(242, 80%, 60%) |
| CMYK | cmyk(77%, 80.3%, 0%, 40.4%) |
| CIE-LAB | lab(22.13, 43.44, -64.43) |
| CIE-LCH | lch(22.13, 77.71, 303.99°) |
| OKLab | oklab(34.76% 0.0088 -0.1865) |
| OKLCH | oklch(34.76% 0.187 272.7) |
| XYZ | xyz(6.8230, 3.5521, 30.0257) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.10
Cobalt Blue
#030AA7
ΔE00 3.65
Royal Blue (survey)
#0504AA
ΔE00 4.21
Indigo Blue
#3A18B1
ΔE00 4.40
Ultramarine
#2000B1
ΔE00 4.72
Darkblue
#00008B
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231E98 #93981E
analogous
#1E5698 #231E98 #601E98
triadic
#231E98 #98231E #1E9823
tetradic
#231E98 #981E56 #93981E #1E9860
square
#231E98 #981E56 #93981E #1E9860
split-complementary
#231E98 #98601E #56981E
monochromatic
#0B0A32 #171465 #231E98 #2F28CB #5953DD
Accessibility & contrast
On white
12.28
#231E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#231E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231E98
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231E98 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231e98; /* rgb */ color: rgb(35, 30, 152); /* oklch */ color: oklch(34.8% 0.187 272.7);
Tailwind
colors: {
custom: {
50: '#735db8',
500: '#231e98',
950: '#000000',
},
}SCSS
$custom: #231e98; $custom-light: #735db8; $custom-dark: #000000;
JSON
{
"hex": "#231e98",
"rgb": {
"r": 35,
"g": 30,
"b": 152
},
"hsl": {
"h": 242.459,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.34764,
"c": 0.18667,
"h": 272.7
},
"luminance": 0.03553
}Semantic roles & 50–950 ramp
primary
#231E98
secondary
#BCC051
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980