#2F3166#2F3166
#2F3166 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.091 H 278.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3166 |
|---|---|
| RGB | rgb(47, 49, 102) |
| HSL | hsl(238, 37%, 29%) |
| HSV | hsv(238, 54%, 40%) |
| CMYK | cmyk(53.9%, 52%, 0%, 60%) |
| CIE-LAB | lab(22.86, 15.60, -31.60) |
| CIE-LCH | lch(22.86, 35.24, 296.27°) |
| OKLab | oklab(34.11% 0.0139 -0.09) |
| OKLCH | oklch(34.11% 0.091 278.8) |
| XYZ | xyz(4.6681, 3.7600, 13.0476) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.68
Marine
#042E60
ΔE00 6.82
Darkslateblue
#483D8B
ΔE00 7.56
Midnight Blue
#191970
ΔE00 8.53
Marine Blue
#01386A
ΔE00 8.76
Blueberry
#464196
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3166 #66642F
analogous
#2F4D66 #2F3166 #492F66
triadic
#2F3166 #662F31 #31662F
tetradic
#2F3166 #662F4D #66642F #2F6649
square
#2F3166 #662F4D #66642F #2F6649
split-complementary
#2F3166 #66492F #4D662F
monochromatic
#0A0A15 #1C1D3C #2F3166 #424590 #5C5FB4
Accessibility & contrast
On white
11.99
#2F3166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2F3166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3166
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3166 | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#133465
Tritanopia (blue-blind)
#193D46
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f3166; /* rgb */ color: rgb(47, 49, 102); /* oklch */ color: oklch(34.1% 0.091 278.8);
Tailwind
colors: {
custom: {
50: '#6c6992',
500: '#2f3166',
950: '#000000',
},
}SCSS
$custom: #2f3166; $custom-light: #6c6992; $custom-dark: #000000;
JSON
{
"hex": "#2f3166",
"rgb": {
"r": 47,
"g": 49,
"b": 102
},
"hsl": {
"h": 237.818,
"s": 36.913,
"l": 29.216
},
"oklch": {
"l": 0.3411,
"c": 0.09106,
"h": 278.8
},
"luminance": 0.0376
}Semantic roles & 50–950 ramp
primary
#2F3166
secondary
#989559
accent
#C95BCD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E