#241795#241795
#241795 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.188 H 274.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #241795 |
|---|---|
| RGB | rgb(36, 23, 149) |
| HSL | hsl(246, 73%, 34%) |
| HSV | hsv(246, 85%, 58%) |
| CMYK | cmyk(75.8%, 84.6%, 0%, 41.6%) |
| CIE-LAB | lab(20.66, 45.99, -65.02) |
| CIE-LCH | lch(20.66, 79.64, 305.27°) |
| OKLab | oklab(33.66% 0.0132 -0.188) |
| OKLCH | oklch(33.66% 0.188 274) |
| XYZ | xyz(6.4570, 3.1571, 28.6970) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.65
Cobalt Blue
#030AA7
ΔE00 3.01
Royal Blue (survey)
#0504AA
ΔE00 3.51
Ultramarine
#2000B1
ΔE00 4.16
Darkblue
#00008B
ΔE00 4.20
Indigo Blue
#3A18B1
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241795 #889517
analogous
#174995 #241795 #631795
triadic
#241795 #952417 #179524
tetradic
#241795 #951749 #889517 #179563
square
#241795 #951749 #889517 #179563
split-complementary
#241795 #956317 #499517
monochromatic
#0A072B #170F60 #241795 #311FCA #5544E2
Accessibility & contrast
On white
12.87
#241795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#241795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241795
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241795 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #241795; /* rgb */ color: rgb(36, 23, 149); /* oklch */ color: oklch(33.7% 0.188 274.0);
Tailwind
colors: {
custom: {
50: '#7359b6',
500: '#241795',
950: '#000000',
},
}SCSS
$custom: #241795; $custom-light: #7359b6; $custom-dark: #000000;
JSON
{
"hex": "#241795",
"rgb": {
"r": 36,
"g": 23,
"b": 149
},
"hsl": {
"h": 246.19,
"s": 73.256,
"l": 33.725
},
"oklch": {
"l": 0.33657,
"c": 0.18847,
"h": 274
},
"luminance": 0.03158
}Semantic roles & 50–950 ramp
primary
#241795
secondary
#B6C345
accent
#F038DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980