#2F3FB0#2F3FB0
#2F3FB0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.179 H 270.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3FB0 |
|---|---|
| RGB | rgb(47, 63, 176) |
| HSL | hsl(233, 58%, 44%) |
| HSV | hsv(233, 73%, 69%) |
| CMYK | cmyk(73.3%, 64.2%, 0%, 31%) |
| CIE-LAB | lab(32.46, 33.16, -61.92) |
| CIE-LCH | lch(32.46, 70.24, 298.17°) |
| OKLab | oklab(43.1% 0.0017 -0.1789) |
| OKLCH | oklch(43.1% 0.179 270.5) |
| XYZ | xyz(10.7836, 7.2928, 41.9052) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.26
Blue Blue
#2242C7
ΔE00 3.13
Ocean Blue
#4F42B5
ΔE00 4.44
Blueberry
#464196
ΔE00 5.15
Cobalt
#0047AB
ΔE00 5.19
Blue (survey)
#0343DF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3FB0 #B0A02F
analogous
#2F7FB0 #2F3FB0 #5F2FB0
triadic
#2F3FB0 #B02F3F #3FB02F
tetradic
#2F3FB0 #B02F7F #B0A02F #2FB05F
square
#2F3FB0 #B02F7F #B0A02F #2FB05F
split-complementary
#2F3FB0 #B05F2F #7FB02F
monochromatic
#151C4F #222E80 #2F3FB0 #4D5DCF #7D89DC
Accessibility & contrast
On white
8.54
#2F3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F3FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3FB0
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3FB0 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3fb0; /* rgb */ color: rgb(47, 63, 176); /* oklch */ color: oklch(43.1% 0.179 270.5);
Tailwind
colors: {
custom: {
50: '#7a74c9',
500: '#2f3fb0',
950: '#000000',
},
}SCSS
$custom: #2f3fb0; $custom-light: #7a74c9; $custom-dark: #000000;
JSON
{
"hex": "#2f3fb0",
"rgb": {
"r": 47,
"g": 63,
"b": 176
},
"hsl": {
"h": 232.558,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.43098,
"c": 0.17895,
"h": 270.5
},
"luminance": 0.07294
}Semantic roles & 50–950 ramp
primary
#2F3FB0
secondary
#C5BB76
accent
#CE47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82