#2F3CBC#2F3CBC
#2F3CBC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.198 H 270.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CBC |
|---|---|
| RGB | rgb(47, 60, 188) |
| HSL | hsl(234, 60%, 46%) |
| HSV | hsv(234, 75%, 74%) |
| CMYK | cmyk(75%, 68.1%, 0%, 26.3%) |
| CIE-LAB | lab(32.84, 39.33, -68.40) |
| CIE-LCH | lch(32.84, 78.91, 299.90°) |
| OKLab | oklab(43.71% 0.0026 -0.1979) |
| OKLCH | oklch(43.71% 0.198 270.8) |
| XYZ | xyz(11.8622, 7.4656, 48.3830) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.42
Sapphire (survey)
#2138AB
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 4.14
Blue With A Hint Of Purple
#533CC6
ΔE00 4.78
Blue (survey)
#0343DF
ΔE00 4.81
Blurple
#5539CC
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CBC #BCAF2F
analogous
#2F82BC #2F3CBC #682FBC
triadic
#2F3CBC #BC2F3C #3CBC2F
tetradic
#2F3CBC #BC2F82 #BCAF2F #2FBC68
square
#2F3CBC #BC2F82 #BCAF2F #2FBC68
split-complementary
#2F3CBC #BC682F #82BC2F
monochromatic
#171D5A #232C8B #2F3CBC #5460D4 #858DE0
Accessibility & contrast
On white
8.42
#2F3CBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2F3CBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CBC
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CBC | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f3cbc; /* rgb */ color: rgb(47, 60, 188); /* oklch */ color: oklch(43.7% 0.198 270.8);
Tailwind
colors: {
custom: {
50: '#7d72d1',
500: '#2f3cbc',
950: '#000000',
},
}SCSS
$custom: #2f3cbc; $custom-light: #7d72d1; $custom-dark: #000000;
JSON
{
"hex": "#2f3cbc",
"rgb": {
"r": 47,
"g": 60,
"b": 188
},
"hsl": {
"h": 234.468,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.43709,
"c": 0.19794,
"h": 270.8
},
"luminance": 0.07467
}Semantic roles & 50–950 ramp
primary
#2F3CBC
secondary
#CAC37D
accent
#D545E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0B0814
muted
#7C7B83