#262F81#262F81
#262F81 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.137 H 272.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #262F81 |
|---|---|
| RGB | rgb(38, 47, 129) |
| HSL | hsl(234, 54%, 33%) |
| HSV | hsv(234, 71%, 51%) |
| CMYK | cmyk(70.5%, 63.6%, 0%, 49.4%) |
| CIE-LAB | lab(23.77, 25.17, -47.42) |
| CIE-LCH | lch(23.77, 53.69, 297.96°) |
| OKLab | oklab(35.28% 0.0058 -0.1368) |
| OKLCH | oklch(35.28% 0.137 272.4) |
| XYZ | xyz(5.7770, 4.0295, 21.2380) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.27
Sapphire (survey)
#2138AB
ΔE00 6.43
Blueberry
#464196
ΔE00 6.71
Royal
#0C1793
ΔE00 7.21
Marine
#042E60
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F81 #817826
analogous
#265C81 #262F81 #4A2681
triadic
#262F81 #81262F #2F8126
tetradic
#262F81 #81265C #817826 #26814A
square
#262F81 #81265C #817826 #26814A
split-complementary
#262F81 #814A26 #5C8126
monochromatic
#0A0D22 #181E52 #262F81 #3440B0 #5560CD
Accessibility & contrast
On white
11.63
#262F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#262F81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F81
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F81 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #262f81; /* rgb */ color: rgb(38, 47, 129); /* oklch */ color: oklch(35.3% 0.137 272.4);
Tailwind
colors: {
custom: {
50: '#6d67a6',
500: '#262f81',
950: '#000000',
},
}SCSS
$custom: #262f81; $custom-light: #6d67a6; $custom-dark: #000000;
JSON
{
"hex": "#262f81",
"rgb": {
"r": 38,
"g": 47,
"b": 129
},
"hsl": {
"h": 234.066,
"s": 54.491,
"l": 32.745
},
"oklch": {
"l": 0.35285,
"c": 0.1369,
"h": 272.4
},
"luminance": 0.0403
}Semantic roles & 50–950 ramp
primary
#262F81
secondary
#B1A851
accent
#CF4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F