#262D7F#262D7F
#262D7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.137 H 273.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #262D7F |
|---|---|
| RGB | rgb(38, 45, 127) |
| HSL | hsl(235, 54%, 32%) |
| HSV | hsv(235, 70%, 50%) |
| CMYK | cmyk(70.1%, 64.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.07, 25.78, -47.30) |
| CIE-LCH | lch(23.07, 53.87, 298.59°) |
| OKLab | oklab(34.72% 0.0076 -0.1364) |
| OKLCH | oklch(34.72% 0.137 273.2) |
| XYZ | xyz(5.5672, 3.8206, 20.5186) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 6.47
Royal
#0C1793
ΔE00 6.85
Sapphire (survey)
#2138AB
ΔE00 6.88
Blueberry
#464196
ΔE00 7.13
Marine
#042E60
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262D7F #7F7826
analogous
#26597F #262D7F #4C267F
triadic
#262D7F #7F262D #2D7F26
tetradic
#262D7F #7F2659 #7F7826 #267F4C
square
#262D7F #7F2659 #7F7826 #267F4C
split-complementary
#262D7F #7F4C26 #597F26
monochromatic
#0A0C21 #181C50 #262D7F #343EAE #545DCC
Accessibility & contrast
On white
11.90
#262D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#262D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262D7F
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262D7F | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #262d7f; /* rgb */ color: rgb(38, 45, 127); /* oklch */ color: oklch(34.7% 0.137 273.2);
Tailwind
colors: {
custom: {
50: '#6d66a5',
500: '#262d7f',
950: '#000000',
},
}SCSS
$custom: #262d7f; $custom-light: #6d66a5; $custom-dark: #000000;
JSON
{
"hex": "#262d7f",
"rgb": {
"r": 38,
"g": 45,
"b": 127
},
"hsl": {
"h": 235.281,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.34715,
"c": 0.13666,
"h": 273.2
},
"luminance": 0.03821
}Semantic roles & 50–950 ramp
primary
#262D7F
secondary
#B0A951
accent
#D24ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F