#262C7D#262C7D
#262C7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.135 H 273.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #262C7D |
|---|---|
| RGB | rgb(38, 44, 125) |
| HSL | hsl(236, 53%, 32%) |
| HSV | hsv(236, 70%, 49%) |
| CMYK | cmyk(69.6%, 64.8%, 0%, 51%) |
| CIE-LAB | lab(22.63, 25.71, -46.75) |
| CIE-LCH | lch(22.63, 53.35, 298.80°) |
| OKLab | oklab(34.34% 0.0085 -0.1348) |
| OKLCH | oklch(34.34% 0.135 273.6) |
| XYZ | xyz(5.4004, 3.6936, 19.8264) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.64
Royal
#0C1793
ΔE00 6.81
Sapphire (survey)
#2138AB
ΔE00 7.26
Blueberry
#464196
ΔE00 7.42
Marine
#042E60
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C7D #7D7726
analogous
#26587D #262C7D #4C267D
triadic
#262C7D #7D262C #2C7D26
tetradic
#262C7D #7D2658 #7D7726 #267D4C
square
#262C7D #7D2658 #7D7726 #267D4C
split-complementary
#262C7D #7D4C26 #587D26
monochromatic
#090B1F #181B4E #262C7D #343DAC #535BCB
Accessibility & contrast
On white
12.08
#262C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#262C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C7D
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C7D | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262c7d; /* rgb */ color: rgb(38, 44, 125); /* oklch */ color: oklch(34.3% 0.135 273.6);
Tailwind
colors: {
custom: {
50: '#6c65a3',
500: '#262c7d',
950: '#000000',
},
}SCSS
$custom: #262c7d; $custom-light: #6c65a3; $custom-dark: #000000;
JSON
{
"hex": "#262c7d",
"rgb": {
"r": 38,
"g": 44,
"b": 125
},
"hsl": {
"h": 235.862,
"s": 53.374,
"l": 31.961
},
"oklch": {
"l": 0.34338,
"c": 0.13512,
"h": 273.6
},
"luminance": 0.03694
}Semantic roles & 50–950 ramp
primary
#262C7D
secondary
#AFA850
accent
#D34BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F