#262A7B#262A7B
#262A7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.135 H 274.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #262A7B |
|---|---|
| RGB | rgb(38, 42, 123) |
| HSL | hsl(237, 53%, 32%) |
| HSV | hsv(237, 69%, 48%) |
| CMYK | cmyk(69.1%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(21.94, 26.31, -46.62) |
| CIE-LCH | lch(21.94, 53.53, 299.44°) |
| OKLab | oklab(33.77% 0.0103 -0.1345) |
| OKLCH | oklch(33.77% 0.135 274.4) |
| XYZ | xyz(5.2013, 3.4976, 19.1361) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.71
Royal
#0C1793
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.98
Sapphire (survey)
#2138AB
ΔE00 7.74
Marine
#042E60
ΔE00 7.75
Blueberry
#464196
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A7B #7B7726
analogous
#26557B #262A7B #4D267B
triadic
#262A7B #7B262A #2A7B26
tetradic
#262A7B #7B2655 #7B7726 #267B4D
square
#262A7B #7B2655 #7B7726 #267B4D
split-complementary
#262A7B #7B4D26 #557B26
monochromatic
#090A1D #181A4C #262A7B #343AAA #5258CA
Accessibility & contrast
On white
12.36
#262A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#262A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A7B
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A7B | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262a7b; /* rgb */ color: rgb(38, 42, 123); /* oklch */ color: oklch(33.8% 0.135 274.4);
Tailwind
colors: {
custom: {
50: '#6c63a2',
500: '#262a7b',
950: '#000000',
},
}SCSS
$custom: #262a7b; $custom-light: #6c63a2; $custom-dark: #000000;
JSON
{
"hex": "#262a7b",
"rgb": {
"r": 38,
"g": 42,
"b": 123
},
"hsl": {
"h": 237.176,
"s": 52.795,
"l": 31.569
},
"oklch": {
"l": 0.33771,
"c": 0.13487,
"h": 274.4
},
"luminance": 0.03498
}Semantic roles & 50–950 ramp
primary
#262A7B
secondary
#ADA950
accent
#D54CDC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F