#262B7A#262B7A
#262B7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.132 H 274.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #262B7A |
|---|---|
| RGB | rgb(38, 43, 122) |
| HSL | hsl(236, 53%, 31%) |
| HSV | hsv(236, 69%, 48%) |
| CMYK | cmyk(68.9%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(22.10, 25.26, -45.71) |
| CIE-LCH | lch(22.10, 52.23, 298.93°) |
| OKLab | oklab(33.87% 0.0095 -0.1318) |
| OKLCH | oklch(33.87% 0.132 274.1) |
| XYZ | xyz(5.1749, 3.5445, 18.8200) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 6.87
Royal
#0C1793
ΔE00 6.93
Marine
#042E60
ΔE00 7.43
Blueberry
#464196
ΔE00 7.77
Sapphire (survey)
#2138AB
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262B7A #7A7526
analogous
#26557A #262B7A #4B267A
triadic
#262B7A #7A262B #2B7A26
tetradic
#262B7A #7A2655 #7A7526 #267A4B
square
#262B7A #7A2655 #7A7526 #267A4B
split-complementary
#262B7A #7A4B26 #557A26
monochromatic
#090A1D #171B4B #262B7A #353BA9 #5159C9
Accessibility & contrast
On white
12.29
#262B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#262B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262B7A
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262B7A | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262b7a; /* rgb */ color: rgb(38, 43, 122); /* oklch */ color: oklch(33.9% 0.132 274.1);
Tailwind
colors: {
custom: {
50: '#6c64a1',
500: '#262b7a',
950: '#000000',
},
}SCSS
$custom: #262b7a; $custom-light: #6c64a1; $custom-dark: #000000;
JSON
{
"hex": "#262b7a",
"rgb": {
"r": 38,
"g": 43,
"b": 122
},
"hsl": {
"h": 236.429,
"s": 52.5,
"l": 31.373
},
"oklch": {
"l": 0.33867,
"c": 0.13213,
"h": 274.1
},
"luminance": 0.03545
}Semantic roles & 50–950 ramp
primary
#262B7A
secondary
#ACA750
accent
#D34CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F