#262B7E#262B7E
#262B7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.138 H 273.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #262B7E |
|---|---|
| RGB | rgb(38, 43, 126) |
| HSL | hsl(237, 54%, 32%) |
| HSV | hsv(237, 70%, 49%) |
| CMYK | cmyk(69.8%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(22.46, 26.75, -47.66) |
| CIE-LCH | lch(22.46, 54.66, 299.31°) |
| OKLab | oklab(34.24% 0.0093 -0.1375) |
| OKLCH | oklch(34.24% 0.138 273.9) |
| XYZ | xyz(5.4278, 3.6457, 20.1523) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.05
Royal
#0C1793
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.75
Sapphire (survey)
#2138AB
ΔE00 7.22
Blueberry
#464196
ΔE00 7.52
Marine
#042E60
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262B7E #7E7926
analogous
#26577E #262B7E #4D267E
triadic
#262B7E #7E262B #2B7E26
tetradic
#262B7E #7E2657 #7E7926 #267E4D
square
#262B7E #7E2657 #7E7926 #267E4D
split-complementary
#262B7E #7E4D26 #577E26
monochromatic
#0A0B20 #181B4F #262B7E #343BAD #535ACB
Accessibility & contrast
On white
12.14
#262B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#262B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262B7E
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262B7E | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262b7e; /* rgb */ color: rgb(38, 43, 126); /* oklch */ color: oklch(34.2% 0.138 273.9);
Tailwind
colors: {
custom: {
50: '#6d64a4',
500: '#262b7e',
950: '#000000',
},
}SCSS
$custom: #262b7e; $custom-light: #6d64a4; $custom-dark: #000000;
JSON
{
"hex": "#262b7e",
"rgb": {
"r": 38,
"g": 43,
"b": 126
},
"hsl": {
"h": 236.591,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.34242,
"c": 0.13782,
"h": 273.9
},
"luminance": 0.03646
}Semantic roles & 50–950 ramp
primary
#262B7E
secondary
#B0AA50
accent
#D54BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F