#2F3FAB#2F3FAB
#2F3FAB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.172 H 270.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3FAB |
|---|---|
| RGB | rgb(47, 63, 171) |
| HSL | hsl(232, 57%, 43%) |
| HSV | hsv(232, 73%, 67%) |
| CMYK | cmyk(72.5%, 63.2%, 0%, 32.9%) |
| CIE-LAB | lab(32.03, 31.34, -59.65) |
| CIE-LCH | lch(32.03, 67.38, 297.72°) |
| OKLab | oklab(42.65% 0.0019 -0.1723) |
| OKLCH | oklch(42.65% 0.172 270.6) |
| XYZ | xyz(10.2980, 7.0986, 39.3476) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Blue Blue
#2242C7
ΔE00 3.77
Blueberry
#464196
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 4.76
Cobalt
#0047AB
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3FAB #AB9B2F
analogous
#2F7DAB #2F3FAB #5D2FAB
triadic
#2F3FAB #AB2F3F #3FAB2F
tetradic
#2F3FAB #AB2F7D #AB9B2F #2FAB5D
square
#2F3FAB #AB2F7D #AB9B2F #2FAB5D
split-complementary
#2F3FAB #AB5D2F #7DAB2F
monochromatic
#151C4B #222D7B #2F3FAB #4A5BCD #7A86DA
Accessibility & contrast
On white
8.68
#2F3FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F3FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3FAB
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3FAB | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3fab; /* rgb */ color: rgb(47, 63, 171); /* oklch */ color: oklch(42.6% 0.172 270.6);
Tailwind
colors: {
custom: {
50: '#7974c5',
500: '#2f3fab',
950: '#000000',
},
}SCSS
$custom: #2f3fab; $custom-light: #7974c5; $custom-dark: #000000;
JSON
{
"hex": "#2f3fab",
"rgb": {
"r": 47,
"g": 63,
"b": 171
},
"hsl": {
"h": 232.258,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.42645,
"c": 0.17228,
"h": 270.6
},
"luminance": 0.071
}Semantic roles & 50–950 ramp
primary
#2F3FAB
secondary
#C3B873
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82