#262F7F#262F7F
#262F7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.134 H 272.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #262F7F |
|---|---|
| RGB | rgb(38, 47, 127) |
| HSL | hsl(234, 54%, 32%) |
| HSV | hsv(234, 70%, 50%) |
| CMYK | cmyk(70.1%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(23.59, 24.42, -46.45) |
| CIE-LCH | lch(23.59, 52.47, 297.73°) |
| OKLab | oklab(35.1% 0.0059 -0.1339) |
| OKLCH | oklch(35.1% 0.134 272.5) |
| XYZ | xyz(5.6453, 3.9769, 20.5447) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.73
Blueberry
#464196
ΔE00 6.84
Marine
#042E60
ΔE00 7.20
Royal
#0C1793
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F7F #7F7626
analogous
#265B7F #262F7F #4A267F
triadic
#262F7F #7F262F #2F7F26
tetradic
#262F7F #7F265B #7F7626 #267F4A
square
#262F7F #7F265B #7F7626 #267F4A
split-complementary
#262F7F #7F4A26 #5B7F26
monochromatic
#0A0C21 #181E50 #262F7F #3440AE #5460CC
Accessibility & contrast
On white
11.70
#262F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#262F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F7F
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F7F | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #262f7f; /* rgb */ color: rgb(38, 47, 127); /* oklch */ color: oklch(35.1% 0.134 272.5);
Tailwind
colors: {
custom: {
50: '#6d67a5',
500: '#262f7f',
950: '#000000',
},
}SCSS
$custom: #262f7f; $custom-light: #6d67a5; $custom-dark: #000000;
JSON
{
"hex": "#262f7f",
"rgb": {
"r": 38,
"g": 47,
"b": 127
},
"hsl": {
"h": 233.933,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.35102,
"c": 0.13404,
"h": 272.5
},
"luminance": 0.03977
}Semantic roles & 50–950 ramp
primary
#262F7F
secondary
#B0A751
accent
#CE4ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F