#262F82#262F82
#262F82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.138 H 272.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #262F82 |
|---|---|
| RGB | rgb(38, 47, 130) |
| HSL | hsl(234, 55%, 33%) |
| HSV | hsv(234, 71%, 51%) |
| CMYK | cmyk(70.8%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(23.86, 25.55, -47.91) |
| CIE-LCH | lch(23.86, 54.29, 298.07°) |
| OKLab | oklab(35.38% 0.0058 -0.1382) |
| OKLCH | oklch(35.38% 0.138 272.4) |
| XYZ | xyz(5.8438, 4.0563, 21.5897) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.18
Sapphire (survey)
#2138AB
ΔE00 6.28
Midnight Blue
#191970
ΔE00 6.29
Blueberry
#464196
ΔE00 6.65
Royal
#0C1793
ΔE00 7.10
Marine
#042E60
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F82 #827926
analogous
#265D82 #262F82 #4B2682
triadic
#262F82 #82262F #2F8226
tetradic
#262F82 #82265D #827926 #26824B
square
#262F82 #82265D #827926 #26824B
split-complementary
#262F82 #824B26 #5D8226
monochromatic
#0A0D23 #181E53 #262F82 #3440B1 #5561CD
Accessibility & contrast
On white
11.59
#262F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#262F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F82
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F82 | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #262f82; /* rgb */ color: rgb(38, 47, 130); /* oklch */ color: oklch(35.4% 0.138 272.4);
Tailwind
colors: {
custom: {
50: '#6d67a7',
500: '#262f82',
950: '#000000',
},
}SCSS
$custom: #262f82; $custom-light: #6d67a7; $custom-dark: #000000;
JSON
{
"hex": "#262f82",
"rgb": {
"r": 38,
"g": 47,
"b": 130
},
"hsl": {
"h": 234.13,
"s": 54.762,
"l": 32.941
},
"oklch": {
"l": 0.35377,
"c": 0.13833,
"h": 272.4
},
"luminance": 0.04057
}Semantic roles & 50–950 ramp
primary
#262F82
secondary
#B2A852
accent
#D04ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F