#2F266F#2F266F
#2F266F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.121 H 283.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F266F |
|---|---|
| RGB | rgb(47, 38, 111) |
| HSL | hsl(247, 49%, 29%) |
| HSV | hsv(247, 66%, 44%) |
| CMYK | cmyk(57.7%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(20.59, 26.25, -41.10) |
| CIE-LCH | lch(20.59, 48.77, 302.57°) |
| OKLab | oklab(32.64% 0.0272 -0.118) |
| OKLCH | oklch(32.64% 0.121 283) |
| XYZ | xyz(4.7338, 3.1380, 15.3921) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.35
Darkslateblue
#483D8B
ΔE00 7.56
Dark Indigo
#1F0954
ΔE00 7.70
Royal
#0C1793
ΔE00 7.79
Darkblue (survey)
#030764
ΔE00 8.17
Indigo (survey)
#380282
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F266F #666F26
analogous
#26426F #2F266F #54266F
triadic
#2F266F #6F2F26 #266F2F
tetradic
#2F266F #6F2642 #666F26 #266F54
square
#2F266F #6F2642 #666F26 #266F54
split-complementary
#2F266F #6F5426 #426F26
monochromatic
#0A0817 #1C1641 #2F266F #42369D #5C4DC2
Accessibility & contrast
On white
12.90
#2F266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2F266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F266F
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F266F | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#113846
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2f266f; /* rgb */ color: rgb(47, 38, 111); /* oklch */ color: oklch(32.6% 0.121 283.0);
Tailwind
colors: {
custom: {
50: '#6e6199',
500: '#2f266f',
950: '#000000',
},
}SCSS
$custom: #2f266f; $custom-light: #6e6199; $custom-dark: #000000;
JSON
{
"hex": "#2f266f",
"rgb": {
"r": 47,
"g": 38,
"b": 111
},
"hsl": {
"h": 247.397,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.32641,
"c": 0.1211,
"h": 283
},
"luminance": 0.03138
}Semantic roles & 50–950 ramp
primary
#2F266F
secondary
#98A24F
accent
#D94FC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E