#262F9F#262F9F
#262F9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.178 H 271.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #262F9F |
|---|---|
| RGB | rgb(38, 47, 159) |
| HSL | hsl(236, 61%, 39%) |
| HSV | hsv(236, 76%, 62%) |
| CMYK | cmyk(76.1%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.58, 36.22, -61.36) |
| CIE-LCH | lch(26.58, 71.25, 300.55°) |
| OKLab | oklab(38.2% 0.0034 -0.1776) |
| OKLCH | oklch(38.2% 0.178 271.1) |
| XYZ | xyz(8.0717, 4.9474, 33.3237) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Royal
#0C1793
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 6.09
Blueberry
#464196
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 7.00
Cobalt Blue
#030AA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262F9F #9F9626
analogous
#266B9F #262F9F #59269F
triadic
#262F9F #9F262F #2F9F26
tetradic
#262F9F #9F266B #9F9626 #269F59
square
#262F9F #9F266B #9F9626 #269F59
split-complementary
#262F9F #9F5926 #6B9F26
monochromatic
#0E123C #1A206E #262F9F #343FCE #656EDA
Accessibility & contrast
On white
10.55
#262F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#262F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262F9F
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262F9F | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #262f9f; /* rgb */ color: rgb(38, 47, 159); /* oklch */ color: oklch(38.2% 0.178 271.1);
Tailwind
colors: {
custom: {
50: '#7468bc',
500: '#262f9f',
950: '#000000',
},
}SCSS
$custom: #262f9f; $custom-light: #7468bc; $custom-dark: #000000;
JSON
{
"hex": "#262f9f",
"rgb": {
"r": 38,
"g": 47,
"b": 159
},
"hsl": {
"h": 235.537,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.382,
"c": 0.1776,
"h": 271.1
},
"luminance": 0.04948
}Semantic roles & 50–950 ramp
primary
#262F9F
secondary
#C0B961
accent
#D943E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81