#262F8C#262F8C
#262F8C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.152 H 272.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #262F8C |
|---|---|
| RGB | rgb(38, 47, 140) |
| HSL | hsl(235, 57%, 35%) |
| HSV | hsv(235, 73%, 55%) |
| CMYK | cmyk(72.9%, 66.4%, 0%, 45.1%) |
| CIE-LAB | lab(24.76, 29.29, -52.68) |
| CIE-LCH | lch(24.76, 60.27, 299.07°) |
| OKLab | oklab(36.32% 0.0052 -0.1522) |
| OKLCH | oklch(36.32% 0.152 272) |
| XYZ | xyz(6.5479, 4.3379, 25.2981) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 6.18
Blueberry
#464196
ΔE00 6.27
Royal
#0C1793
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.76
Indigo Blue
#3A18B1
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F8C #8C8326
analogous
#26628C #262F8C #50268C
triadic
#262F8C #8C262F #2F8C26
tetradic
#262F8C #8C2662 #8C8326 #268C50
square
#262F8C #8C2662 #8C8326 #268C50
split-complementary
#262F8C #8C5026 #628C26
monochromatic
#0C0F2C #191F5C #262F8C #333FBC #5A65D2
Accessibility & contrast
On white
11.24
#262F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#262F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F8C
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F8C | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #262f8c; /* rgb */ color: rgb(38, 47, 140); /* oklch */ color: oklch(36.3% 0.152 272.0);
Tailwind
colors: {
custom: {
50: '#7067ae',
500: '#262f8c',
950: '#000000',
},
}SCSS
$custom: #262f8c; $custom-light: #7067ae; $custom-dark: #000000;
JSON
{
"hex": "#262f8c",
"rgb": {
"r": 38,
"g": 47,
"b": 140
},
"hsl": {
"h": 234.706,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.36318,
"c": 0.15229,
"h": 272
},
"luminance": 0.04339
}Semantic roles & 50–950 ramp
primary
#262F8C
secondary
#B7AF57
accent
#D347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F