#2F3CA5#2F3CA5
#2F3CA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.168 H 271.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CA5 |
|---|---|
| RGB | rgb(47, 60, 165) |
| HSL | hsl(233, 56%, 42%) |
| HSV | hsv(233, 72%, 65%) |
| CMYK | cmyk(71.5%, 63.6%, 0%, 35.3%) |
| CIE-LAB | lab(30.76, 31.10, -58.12) |
| CIE-LCH | lch(30.76, 65.91, 298.15°) |
| OKLab | oklab(41.55% 0.0043 -0.1678) |
| OKLCH | oklch(41.55% 0.168 271.5) |
| XYZ | xyz(9.5774, 6.5517, 36.3499) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.71
Blueberry
#464196
ΔE00 4.33
Blue Blue
#2242C7
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CA5 #A5982F
analogous
#2F77A5 #2F3CA5 #5D2FA5
triadic
#2F3CA5 #A52F3C #3CA52F
tetradic
#2F3CA5 #A52F77 #A5982F #2FA55D
square
#2F3CA5 #A52F77 #A5982F #2FA55D
split-complementary
#2F3CA5 #A55D2F #77A52F
monochromatic
#141946 #212B75 #2F3CA5 #4755CB #7681D8
Accessibility & contrast
On white
9.09
#2F3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F3CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CA5
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CA5 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3ca5; /* rgb */ color: rgb(47, 60, 165); /* oklch */ color: oklch(41.6% 0.168 271.5);
Tailwind
colors: {
custom: {
50: '#7871c1',
500: '#2f3ca5',
950: '#000000',
},
}SCSS
$custom: #2f3ca5; $custom-light: #7871c1; $custom-dark: #000000;
JSON
{
"hex": "#2f3ca5",
"rgb": {
"r": 47,
"g": 60,
"b": 165
},
"hsl": {
"h": 233.39,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.41552,
"c": 0.16786,
"h": 271.5
},
"luminance": 0.06553
}Semantic roles & 50–950 ramp
primary
#2F3CA5
secondary
#C0B770
accent
#CE49DF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81