#31269E#31269E
#31269E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.183 H 276.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #31269E |
|---|---|
| RGB | rgb(49, 38, 158) |
| HSL | hsl(246, 61%, 38%) |
| HSV | hsv(246, 76%, 62%) |
| CMYK | cmyk(69%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(25.28, 42.36, -62.87) |
| CIE-LCH | lch(25.28, 75.81, 303.97°) |
| OKLab | oklab(37.43% 0.0221 -0.1817) |
| OKLCH | oklch(37.43% 0.183 276.9) |
| XYZ | xyz(8.1293, 4.5071, 32.7827) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Royal
#0C1793
ΔE00 4.40
Cobalt Blue
#030AA7
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 5.63
Royal Blue (survey)
#0504AA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31269E #939E26
analogous
#26579E #31269E #6D269E
triadic
#31269E #9E3126 #269E31
tetradic
#31269E #9E2657 #939E26 #269E6D
square
#31269E #9E2657 #939E26 #269E6D
split-complementary
#31269E #9E6D26 #579E26
monochromatic
#120E3B #221A6D #31269E #4133CE #6F65DA
Accessibility & contrast
On white
11.04
#31269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#31269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31269E
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31269E | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #31269e; /* rgb */ color: rgb(49, 38, 158); /* oklch */ color: oklch(37.4% 0.183 276.9);
Tailwind
colors: {
custom: {
50: '#7963bc',
500: '#31269e',
950: '#000000',
},
}SCSS
$custom: #31269e; $custom-light: #7963bc; $custom-dark: #000000;
JSON
{
"hex": "#31269e",
"rgb": {
"r": 49,
"g": 38,
"b": 158
},
"hsl": {
"h": 245.5,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.37428,
"c": 0.18301,
"h": 276.9
},
"luminance": 0.04508
}Semantic roles & 50–950 ramp
primary
#31269E
secondary
#B7C060
accent
#E443D6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81