#262F7B#262F7B
#262F7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.128 H 272.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #262F7B |
|---|---|
| RGB | rgb(38, 47, 123) |
| HSL | hsl(234, 53%, 32%) |
| HSV | hsv(234, 69%, 48%) |
| CMYK | cmyk(69.1%, 61.8%, 0%, 51.8%) |
| CIE-LAB | lab(23.25, 22.90, -44.47) |
| CIE-LCH | lch(23.25, 50.02, 297.25°) |
| OKLab | oklab(34.74% 0.0059 -0.1281) |
| OKLCH | oklch(34.74% 0.128 272.7) |
| XYZ | xyz(5.3898, 3.8747, 19.1989) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.41
Marine
#042E60
ΔE00 6.74
Blueberry
#464196
ΔE00 7.13
Sapphire (survey)
#2138AB
ΔE00 7.34
Royal
#0C1793
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F7B #7B7226
analogous
#265A7B #262F7B #48267B
triadic
#262F7B #7B262F #2F7B26
tetradic
#262F7B #7B265A #7B7226 #267B48
square
#262F7B #7B265A #7B7226 #267B48
split-complementary
#262F7B #7B4826 #5A7B26
monochromatic
#090B1D #181D4C #262F7B #3441AA #525FCA
Accessibility & contrast
On white
11.83
#262F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#262F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F7B
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F7B | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #262f7b; /* rgb */ color: rgb(38, 47, 123); /* oklch */ color: oklch(34.7% 0.128 272.7);
Tailwind
colors: {
custom: {
50: '#6c67a2',
500: '#262f7b',
950: '#000000',
},
}SCSS
$custom: #262f7b; $custom-light: #6c67a2; $custom-dark: #000000;
JSON
{
"hex": "#262f7b",
"rgb": {
"r": 38,
"g": 47,
"b": 123
},
"hsl": {
"h": 233.647,
"s": 52.795,
"l": 31.569
},
"oklch": {
"l": 0.34742,
"c": 0.12826,
"h": 272.7
},
"luminance": 0.03875
}Semantic roles & 50–950 ramp
primary
#262F7B
secondary
#ADA350
accent
#CD4CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F