#262A6F#262A6F
#262A6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.117 H 275.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #262A6F |
|---|---|
| RGB | rgb(38, 42, 111) |
| HSL | hsl(237, 49%, 29%) |
| HSV | hsv(237, 66%, 44%) |
| CMYK | cmyk(65.8%, 62.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.89, 21.83, -40.65) |
| CIE-LCH | lch(20.89, 46.14, 298.24°) |
| OKLab | oklab(32.67% 0.0108 -0.1169) |
| OKLCH | oklch(32.67% 0.117 275.3) |
| XYZ | xyz(4.4956, 3.2153, 15.4196) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.15
Marine
#042E60
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 7.62
Navy Blue
#1B2A4A
ΔE00 8.02
Royal
#0C1793
ΔE00 8.34
Blueberry
#464196
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A6F #6F6B26
analogous
#264F6F #262A6F #47266F
triadic
#262A6F #6F262A #2A6F26
tetradic
#262A6F #6F264F #6F6B26 #266F47
square
#262A6F #6F264F #6F6B26 #266F47
split-complementary
#262A6F #6F4726 #4F6F26
monochromatic
#080917 #161941 #262A6F #363B9D #4D54C2
Accessibility & contrast
On white
12.78
#262A6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#262A6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A6F
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A6F | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #262a6f; /* rgb */ color: rgb(38, 42, 111); /* oklch */ color: oklch(32.7% 0.117 275.3);
Tailwind
colors: {
custom: {
50: '#696399',
500: '#262a6f',
950: '#000000',
},
}SCSS
$custom: #262a6f; $custom-light: #696399; $custom-dark: #000000;
JSON
{
"hex": "#262a6f",
"rgb": {
"r": 38,
"g": 42,
"b": 111
},
"hsl": {
"h": 236.712,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.32671,
"c": 0.11744,
"h": 275.3
},
"luminance": 0.03216
}Semantic roles & 50–950 ramp
primary
#262A6F
secondary
#A29D4F
accent
#D14FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E