#262F7E#262F7E
#262F7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.133 H 272.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #262F7E |
|---|---|
| RGB | rgb(38, 47, 126) |
| HSL | hsl(234, 54%, 32%) |
| HSV | hsv(234, 70%, 49%) |
| CMYK | cmyk(69.8%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.51, 24.04, -45.95) |
| CIE-LCH | lch(23.51, 51.86, 297.61°) |
| OKLab | oklab(35.01% 0.0059 -0.1325) |
| OKLCH | oklch(35.01% 0.133 272.6) |
| XYZ | xyz(5.5805, 3.9509, 20.2031) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.29
Sapphire (survey)
#2138AB
ΔE00 6.88
Blueberry
#464196
ΔE00 6.90
Marine
#042E60
ΔE00 7.08
Royal
#0C1793
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F7E #7E7526
analogous
#265B7E #262F7E #49267E
triadic
#262F7E #7E262F #2F7E26
tetradic
#262F7E #7E265B #7E7526 #267E49
square
#262F7E #7E265B #7E7526 #267E49
split-complementary
#262F7E #7E4926 #5B7E26
monochromatic
#0A0C20 #181D4F #262F7E #3441AD #535FCB
Accessibility & contrast
On white
11.73
#262F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#262F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F7E
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F7E | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #262f7e; /* rgb */ color: rgb(38, 47, 126); /* oklch */ color: oklch(35.0% 0.133 272.6);
Tailwind
colors: {
custom: {
50: '#6c67a4',
500: '#262f7e',
950: '#000000',
},
}SCSS
$custom: #262f7e; $custom-light: #6c67a4; $custom-dark: #000000;
JSON
{
"hex": "#262f7e",
"rgb": {
"r": 38,
"g": 47,
"b": 126
},
"hsl": {
"h": 233.864,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.35011,
"c": 0.1326,
"h": 272.6
},
"luminance": 0.03951
}Semantic roles & 50–950 ramp
primary
#262F7E
secondary
#B0A650
accent
#CE4BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F