#262B7B#262B7B
#262B7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.134 H 274.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #262B7B |
|---|---|
| RGB | rgb(38, 43, 123) |
| HSL | hsl(236, 53%, 32%) |
| HSV | hsv(236, 69%, 48%) |
| CMYK | cmyk(69.1%, 65%, 0%, 51.8%) |
| CIE-LAB | lab(22.19, 25.64, -46.20) |
| CIE-LCH | lch(22.19, 52.84, 299.03°) |
| OKLab | oklab(33.96% 0.0095 -0.1332) |
| OKLCH | oklch(33.96% 0.134 274.1) |
| XYZ | xyz(5.2372, 3.5694, 19.1480) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Royal
#0C1793
ΔE00 6.80
Darkslateblue
#483D8B
ΔE00 6.84
Marine
#042E60
ΔE00 7.53
Sapphire (survey)
#2138AB
ΔE00 7.64
Blueberry
#464196
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262B7B #7B7626
analogous
#26567B #262B7B #4C267B
triadic
#262B7B #7B262B #2B7B26
tetradic
#262B7B #7B2656 #7B7626 #267B4C
square
#262B7B #7B2656 #7B7626 #267B4C
split-complementary
#262B7B #7B4C26 #567B26
monochromatic
#090A1D #181B4C #262B7B #343BAA #5259CA
Accessibility & contrast
On white
12.25
#262B7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#262B7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262B7B
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262B7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262B7B | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262b7b; /* rgb */ color: rgb(38, 43, 123); /* oklch */ color: oklch(34.0% 0.134 274.1);
Tailwind
colors: {
custom: {
50: '#6c64a2',
500: '#262b7b',
950: '#000000',
},
}SCSS
$custom: #262b7b; $custom-light: #6c64a2; $custom-dark: #000000;
JSON
{
"hex": "#262b7b",
"rgb": {
"r": 38,
"g": 43,
"b": 123
},
"hsl": {
"h": 236.471,
"s": 52.795,
"l": 31.569
},
"oklch": {
"l": 0.3396,
"c": 0.13356,
"h": 274.1
},
"luminance": 0.0357
}Semantic roles & 50–950 ramp
primary
#262B7B
secondary
#ADA850
accent
#D44CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F