#262C7F#262C7F
#262C7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.138 H 273.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #262C7F |
|---|---|
| RGB | rgb(38, 44, 127) |
| HSL | hsl(236, 54%, 32%) |
| HSV | hsv(236, 70%, 50%) |
| CMYK | cmyk(70.1%, 65.4%, 0%, 50.2%) |
| CIE-LAB | lab(22.81, 26.45, -47.73) |
| CIE-LCH | lch(22.81, 54.57, 299.00°) |
| OKLab | oklab(34.53% 0.0084 -0.1377) |
| OKLCH | oklch(34.53% 0.138 273.5) |
| XYZ | xyz(5.5295, 3.7452, 20.5061) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.35
Royal
#0C1793
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 6.98
Blueberry
#464196
ΔE00 7.30
Marine
#042E60
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C7F #7F7926
analogous
#26597F #262C7F #4D267F
triadic
#262C7F #7F262C #2C7F26
tetradic
#262C7F #7F2659 #7F7926 #267F4D
square
#262C7F #7F2659 #7F7926 #267F4D
split-complementary
#262C7F #7F4D26 #597F26
monochromatic
#0A0B21 #181C50 #262C7F #343CAE #545CCC
Accessibility & contrast
On white
12.01
#262C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#262C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C7F
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C7F | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262c7f; /* rgb */ color: rgb(38, 44, 127); /* oklch */ color: oklch(34.5% 0.138 273.5);
Tailwind
colors: {
custom: {
50: '#6d65a5',
500: '#262c7f',
950: '#000000',
},
}SCSS
$custom: #262c7f; $custom-light: #6d65a5; $custom-dark: #000000;
JSON
{
"hex": "#262c7f",
"rgb": {
"r": 38,
"g": 44,
"b": 127
},
"hsl": {
"h": 235.955,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.34525,
"c": 0.13795,
"h": 273.5
},
"luminance": 0.03746
}Semantic roles & 50–950 ramp
primary
#262C7F
secondary
#B0AA51
accent
#D34ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F