#262C74#262C74
#262C74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.122 H 274.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #262C74 |
|---|---|
| RGB | rgb(38, 44, 116) |
| HSL | hsl(235, 51%, 30%) |
| HSV | hsv(235, 67%, 45%) |
| CMYK | cmyk(67.2%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(21.85, 22.33, -42.30) |
| CIE-LCH | lch(21.85, 47.83, 297.83°) |
| OKLab | oklab(33.52% 0.0088 -0.1218) |
| OKLCH | oklch(33.52% 0.122 274.1) |
| XYZ | xyz(4.8514, 3.4740, 16.9345) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.49
Marine
#042E60
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 7.07
Royal
#0C1793
ΔE00 8.04
Blueberry
#464196
ΔE00 8.11
Navy Blue
#1B2A4A
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C74 #746E26
analogous
#265374 #262C74 #472674
triadic
#262C74 #74262C #2C7426
tetradic
#262C74 #742653 #746E26 #267447
square
#262C74 #742653 #746E26 #267447
split-complementary
#262C74 #744726 #537426
monochromatic
#080918 #171B46 #262C74 #353DA2 #4F58C5
Accessibility & contrast
On white
12.39
#262C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#262C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C74
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C74 | 1.00 | 12.39 | 1.69 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #262c74; /* rgb */ color: rgb(38, 44, 116); /* oklch */ color: oklch(33.5% 0.122 274.1);
Tailwind
colors: {
custom: {
50: '#6a659d',
500: '#262c74',
950: '#000000',
},
}SCSS
$custom: #262c74; $custom-light: #6a659d; $custom-dark: #000000;
JSON
{
"hex": "#262c74",
"rgb": {
"r": 38,
"g": 44,
"b": 116
},
"hsl": {
"h": 235.385,
"s": 50.649,
"l": 30.196
},
"oklch": {
"l": 0.33517,
"c": 0.12208,
"h": 274.1
},
"luminance": 0.03474
}Semantic roles & 50–950 ramp
primary
#262C74
secondary
#A6A04F
accent
#CF4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E