#262F8A#262F8A
#262F8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.150 H 272.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #262F8A |
|---|---|
| RGB | rgb(38, 47, 138) |
| HSL | hsl(235, 57%, 35%) |
| HSV | hsv(235, 72%, 54%) |
| CMYK | cmyk(72.5%, 65.9%, 0%, 45.9%) |
| CIE-LAB | lab(24.57, 28.54, -51.74) |
| CIE-LCH | lch(24.57, 59.09, 298.89°) |
| OKLab | oklab(36.13% 0.0054 -0.1494) |
| OKLCH | oklch(36.13% 0.15 272.1) |
| XYZ | xyz(6.4017, 4.2794, 24.5285) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 6.15
Blueberry
#464196
ΔE00 6.32
Royal
#0C1793
ΔE00 6.41
Midnight Blue
#191970
ΔE00 6.64
Indigo Blue
#3A18B1
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F8A #8A8126
analogous
#26618A #262F8A #4F268A
triadic
#262F8A #8A262F #2F8A26
tetradic
#262F8A #8A2661 #8A8126 #268A4F
square
#262F8A #8A2661 #8A8126 #268A4F
split-complementary
#262F8A #8A4F26 #618A26
monochromatic
#0C0E2A #191F5A #262F8A #333FBA #5964D1
Accessibility & contrast
On white
11.31
#262F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#262F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F8A
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F8A | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #262f8a; /* rgb */ color: rgb(38, 47, 138); /* oklch */ color: oklch(36.1% 0.150 272.1);
Tailwind
colors: {
custom: {
50: '#6f67ad',
500: '#262f8a',
950: '#000000',
},
}SCSS
$custom: #262f8a; $custom-light: #6f67ad; $custom-dark: #000000;
JSON
{
"hex": "#262f8a",
"rgb": {
"r": 38,
"g": 47,
"b": 138
},
"hsl": {
"h": 234.6,
"s": 56.818,
"l": 34.51
},
"oklch": {
"l": 0.36126,
"c": 0.14954,
"h": 272.1
},
"luminance": 0.0428
}Semantic roles & 50–950 ramp
primary
#262F8A
secondary
#B6AD56
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F