#262D7C#262D7C
#262D7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.132 H 273.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #262D7C |
|---|---|
| RGB | rgb(38, 45, 124) |
| HSL | hsl(235, 53%, 32%) |
| HSV | hsv(235, 69%, 49%) |
| CMYK | cmyk(69.4%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.80, 24.65, -45.84) |
| CIE-LCH | lch(22.80, 52.05, 298.27°) |
| OKLab | oklab(34.44% 0.0077 -0.1321) |
| OKLCH | oklch(34.44% 0.132 273.3) |
| XYZ | xyz(5.3746, 3.7436, 19.5042) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 6.56
Royal
#0C1793
ΔE00 7.21
Marine
#042E60
ΔE00 7.22
Sapphire (survey)
#2138AB
ΔE00 7.32
Blueberry
#464196
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262D7C #7C7526
analogous
#26587C #262D7C #4A267C
triadic
#262D7C #7C262D #2D7C26
tetradic
#262D7C #7C2658 #7C7526 #267C4A
square
#262D7C #7C2658 #7C7526 #267C4A
split-complementary
#262D7C #7C4A26 #587C26
monochromatic
#090B1E #181C4D #262D7C #343EAB #525CCA
Accessibility & contrast
On white
12.01
#262D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#262D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262D7C
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262D7C | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262d7c; /* rgb */ color: rgb(38, 45, 124); /* oklch */ color: oklch(34.4% 0.132 273.3);
Tailwind
colors: {
custom: {
50: '#6c66a3',
500: '#262d7c',
950: '#000000',
},
}SCSS
$custom: #262d7c; $custom-light: #6c66a3; $custom-dark: #000000;
JSON
{
"hex": "#262d7c",
"rgb": {
"r": 38,
"g": 45,
"b": 124
},
"hsl": {
"h": 235.116,
"s": 53.086,
"l": 31.765
},
"oklch": {
"l": 0.34438,
"c": 0.13237,
"h": 273.3
},
"luminance": 0.03744
}Semantic roles & 50–950 ramp
primary
#262D7C
secondary
#AEA650
accent
#D14BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F