#262F87#262F87
#262F87 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.145 H 272.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #262F87 |
|---|---|
| RGB | rgb(38, 47, 135) |
| HSL | hsl(234, 56%, 34%) |
| HSV | hsv(234, 72%, 53%) |
| CMYK | cmyk(71.9%, 65.2%, 0%, 47.1%) |
| CIE-LAB | lab(24.30, 27.42, -50.31) |
| CIE-LCH | lch(24.30, 57.30, 298.59°) |
| OKLab | oklab(35.84% 0.0055 -0.1453) |
| OKLCH | oklch(35.84% 0.145 272.2) |
| XYZ | xyz(6.1875, 4.1938, 23.4004) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.14
Blueberry
#464196
ΔE00 6.42
Midnight Blue
#191970
ΔE00 6.47
Royal
#0C1793
ΔE00 6.64
Marine
#042E60
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F87 #877E26
analogous
#266087 #262F87 #4E2687
triadic
#262F87 #87262F #2F8726
tetradic
#262F87 #872660 #877E26 #26874E
square
#262F87 #872660 #877E26 #26874E
split-complementary
#262F87 #874E26 #608726
monochromatic
#0B0E27 #191E57 #262F87 #3340B7 #5863D0
Accessibility & contrast
On white
11.42
#262F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#262F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F87
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F87 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #262f87; /* rgb */ color: rgb(38, 47, 135); /* oklch */ color: oklch(35.8% 0.145 272.2);
Tailwind
colors: {
custom: {
50: '#6f67ab',
500: '#262f87',
950: '#000000',
},
}SCSS
$custom: #262f87; $custom-light: #6f67ab; $custom-dark: #000000;
JSON
{
"hex": "#262f87",
"rgb": {
"r": 38,
"g": 47,
"b": 135
},
"hsl": {
"h": 234.433,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.35842,
"c": 0.14537,
"h": 272.2
},
"luminance": 0.04194
}Semantic roles & 50–950 ramp
primary
#262F87
secondary
#B5AC54
accent
#D148DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F