#262F9B#262F9B
#262F9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.172 H 271.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #262F9B |
|---|---|
| RGB | rgb(38, 47, 155) |
| HSL | hsl(235, 61%, 38%) |
| HSV | hsv(235, 75%, 61%) |
| CMYK | cmyk(75.5%, 69.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.19, 34.78, -59.57) |
| CIE-LCH | lch(26.19, 68.98, 300.28°) |
| OKLab | oklab(37.8% 0.0038 -0.1723) |
| OKLCH | oklch(37.8% 0.172 271.3) |
| XYZ | xyz(7.7302, 4.8108, 31.5252) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Royal
#0C1793
ΔE00 5.87
Blueberry
#464196
ΔE00 6.30
Indigo Blue
#3A18B1
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F9B #9B9226
analogous
#26699B #262F9B #58269B
triadic
#262F9B #9B262F #2F9B26
tetradic
#262F9B #9B2669 #9B9226 #269B58
square
#262F9B #9B2669 #9B9226 #269B58
split-complementary
#262F9B #9B5826 #699B26
monochromatic
#0E1139 #1A206A #262F9B #323ECC #636CD9
Accessibility & contrast
On white
10.70
#262F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#262F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F9B
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F9B | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #262f9b; /* rgb */ color: rgb(38, 47, 155); /* oklch */ color: oklch(37.8% 0.172 271.3);
Tailwind
colors: {
custom: {
50: '#7368ba',
500: '#262f9b',
950: '#000000',
},
}SCSS
$custom: #262f9b; $custom-light: #7368ba; $custom-dark: #000000;
JSON
{
"hex": "#262f9b",
"rgb": {
"r": 38,
"g": 47,
"b": 155
},
"hsl": {
"h": 235.385,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.37795,
"c": 0.17239,
"h": 271.3
},
"luminance": 0.04812
}Semantic roles & 50–950 ramp
primary
#262F9B
secondary
#BEB75F
accent
#D744E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81