#231FB3#231FB3
#231FB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.218 H 270.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #231FB3 |
|---|---|
| RGB | rgb(35, 31, 179) |
| HSL | hsl(242, 70%, 41%) |
| HSV | hsv(242, 83%, 70%) |
| CMYK | cmyk(80.4%, 82.7%, 0%, 29.8%) |
| CIE-LAB | lab(25.54, 51.51, -75.16) |
| CIE-LCH | lch(25.54, 91.12, 304.42°) |
| OKLab | oklab(38.07% 0.0023 -0.2175) |
| OKLCH | oklch(38.07% 0.218 270.6) |
| XYZ | xyz(9.3171, 4.5909, 43.0342) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.34
True Blue
#010FCC
ΔE00 3.29
Ultramarine
#2000B1
ΔE00 3.76
Mediumblue
#0000CD
ΔE00 3.99
Cobalt Blue
#030AA7
ΔE00 3.99
Royal Blue (survey)
#0504AA
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231FB3 #AFB31F
analogous
#1F65B3 #231FB3 #6D1FB3
triadic
#231FB3 #B3231F #1FB323
tetradic
#231FB3 #B31F65 #AFB31F #1FB36D
square
#231FB3 #B31F65 #AFB31F #1FB36D
split-complementary
#231FB3 #B36D1F #65B31F
monochromatic
#0F0D4B #19167F #231FB3 #3833DC #6B68E5
Accessibility & contrast
On white
10.95
#231FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#231FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231FB3
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231FB3 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #231fb3; /* rgb */ color: rgb(35, 31, 179); /* oklch */ color: oklch(38.1% 0.218 270.6);
Tailwind
colors: {
custom: {
50: '#7a5fcb',
500: '#231fb3',
950: '#000000',
},
}SCSS
$custom: #231fb3; $custom-light: #7a5fcb; $custom-dark: #000000;
JSON
{
"hex": "#231fb3",
"rgb": {
"r": 35,
"g": 31,
"b": 179
},
"hsl": {
"h": 241.622,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.38065,
"c": 0.21756,
"h": 270.6
},
"luminance": 0.04592
}Semantic roles & 50–950 ramp
primary
#231FB3
secondary
#C7CA64
accent
#ED3BE8
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982