#2F269B#2F269B
#2F269B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.180 H 276.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F269B |
|---|---|
| RGB | rgb(47, 38, 155) |
| HSL | hsl(245, 61%, 38%) |
| HSV | hsv(245, 75%, 61%) |
| CMYK | cmyk(69.7%, 75.5%, 0%, 39.2%) |
| CIE-LAB | lab(24.82, 41.16, -61.81) |
| CIE-LCH | lch(24.82, 74.26, 303.66°) |
| OKLab | oklab(36.97% 0.02 -0.1786) |
| OKLCH | oklch(36.97% 0.18 276.4) |
| XYZ | xyz(7.7799, 4.3564, 31.4349) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 4.19
Cobalt Blue
#030AA7
ΔE00 5.29
Sapphire (survey)
#2138AB
ΔE00 5.60
Royal Blue (survey)
#0504AA
ΔE00 5.77
Ultramarine
#2000B1
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F269B #929B26
analogous
#26589B #2F269B #69269B
triadic
#2F269B #9B2F26 #269B2F
tetradic
#2F269B #9B2658 #929B26 #269B69
square
#2F269B #9B2658 #929B26 #269B69
split-complementary
#2F269B #9B6926 #589B26
monochromatic
#110E39 #201A6A #2F269B #3E32CC #6C63D9
Accessibility & contrast
On white
11.22
#2F269B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F269B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F269B
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F269B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F269B | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f269b; /* rgb */ color: rgb(47, 38, 155); /* oklch */ color: oklch(37.0% 0.180 276.4);
Tailwind
colors: {
custom: {
50: '#7862ba',
500: '#2f269b',
950: '#000000',
},
}SCSS
$custom: #2f269b; $custom-light: #7862ba; $custom-dark: #000000;
JSON
{
"hex": "#2f269b",
"rgb": {
"r": 47,
"g": 38,
"b": 155
},
"hsl": {
"h": 244.615,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.36966,
"c": 0.17976,
"h": 276.4
},
"luminance": 0.04357
}Semantic roles & 50–950 ramp
primary
#2F269B
secondary
#B7BE5F
accent
#E444D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981