#2F3266#2F3266
#2F3266 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.090 H 278.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3266 |
|---|---|
| RGB | rgb(47, 50, 102) |
| HSL | hsl(237, 37%, 29%) |
| HSV | hsv(237, 54%, 40%) |
| CMYK | cmyk(53.9%, 51%, 0%, 60%) |
| CIE-LAB | lab(23.15, 14.90, -31.14) |
| CIE-LCH | lch(23.15, 34.52, 295.58°) |
| OKLab | oklab(34.33% 0.0126 -0.0886) |
| OKLCH | oklch(34.33% 0.09 278.1) |
| XYZ | xyz(4.7104, 3.8446, 13.0617) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.57
Marine
#042E60
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 7.58
Marine Blue
#01386A
ΔE00 8.52
Midnight Blue
#191970
ΔE00 8.85
Blueberry
#464196
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3266 #66632F
analogous
#2F4E66 #2F3266 #482F66
triadic
#2F3266 #662F32 #32662F
tetradic
#2F3266 #662F4E #66632F #2F6648
square
#2F3266 #662F4E #66632F #2F6648
split-complementary
#2F3266 #66482F #4E662F
monochromatic
#0A0A15 #1C1D3C #2F3266 #424790 #5C60B4
Accessibility & contrast
On white
11.87
#2F3266 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F3266 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3266
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3266 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3266 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3968
Deuteranopia (green-blind)
#153565
Tritanopia (blue-blind)
#193D47
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f3266; /* rgb */ color: rgb(47, 50, 102); /* oklch */ color: oklch(34.3% 0.090 278.1);
Tailwind
colors: {
custom: {
50: '#6c6992',
500: '#2f3266',
950: '#000000',
},
}SCSS
$custom: #2f3266; $custom-light: #6c6992; $custom-dark: #000000;
JSON
{
"hex": "#2f3266",
"rgb": {
"r": 47,
"g": 50,
"b": 102
},
"hsl": {
"h": 236.727,
"s": 36.913,
"l": 29.216
},
"oklch": {
"l": 0.34329,
"c": 0.08951,
"h": 278.1
},
"luminance": 0.03845
}Semantic roles & 50–950 ramp
primary
#2F3266
secondary
#989459
accent
#C75BCD
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E