#2F3FAA#2F3FAA
#2F3FAA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.171 H 270.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3FAA |
|---|---|
| RGB | rgb(47, 63, 170) |
| HSL | hsl(232, 57%, 43%) |
| HSV | hsv(232, 72%, 67%) |
| CMYK | cmyk(72.4%, 62.9%, 0%, 33.3%) |
| CIE-LAB | lab(31.94, 30.97, -59.19) |
| CIE-LCH | lch(31.94, 66.80, 297.62°) |
| OKLab | oklab(42.56% 0.0019 -0.1709) |
| OKLCH | oklch(42.56% 0.171 270.6) |
| XYZ | xyz(10.2030, 7.0606, 38.8475) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.16
Blue Blue
#2242C7
ΔE00 3.90
Blueberry
#464196
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 4.83
Cobalt
#0047AB
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3FAA #AA9A2F
analogous
#2F7DAA #2F3FAA #5C2FAA
triadic
#2F3FAA #AA2F3F #3FAA2F
tetradic
#2F3FAA #AA2F7D #AA9A2F #2FAA5C
square
#2F3FAA #AA2F7D #AA9A2F #2FAA5C
split-complementary
#2F3FAA #AA5C2F #7DAA2F
monochromatic
#141B4A #222D7A #2F3FAA #495ACD #7986DA
Accessibility & contrast
On white
8.71
#2F3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F3FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3FAA
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3FAA | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3faa; /* rgb */ color: rgb(47, 63, 170); /* oklch */ color: oklch(42.6% 0.171 270.6);
Tailwind
colors: {
custom: {
50: '#7974c4',
500: '#2f3faa',
950: '#000000',
},
}SCSS
$custom: #2f3faa; $custom-light: #7974c4; $custom-dark: #000000;
JSON
{
"hex": "#2f3faa",
"rgb": {
"r": 47,
"g": 63,
"b": 170
},
"hsl": {
"h": 232.195,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.42555,
"c": 0.17094,
"h": 270.6
},
"luminance": 0.07062
}Semantic roles & 50–950 ramp
primary
#2F3FAA
secondary
#C2B872
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82