#293FAB#293FAB
#293FAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.174 H 268.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #293FAB |
|---|---|
| RGB | rgb(41, 63, 171) |
| HSL | hsl(230, 61%, 42%) |
| HSV | hsv(230, 76%, 67%) |
| CMYK | cmyk(76%, 63.2%, 0%, 32.9%) |
| CIE-LAB | lab(31.73, 30.63, -60.15) |
| CIE-LCH | lch(31.73, 67.50, 296.99°) |
| OKLab | oklab(42.34% -0.004 -0.1739) |
| OKLCH | oklch(42.34% 0.174 268.7) |
| XYZ | xyz(10.0401, 6.9656, 39.3355) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.06
Blue Blue
#2242C7
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.43
Blueberry
#464196
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.39
Cobalt (survey)
#1E488F
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#293FAB #AB9529
analogous
#2980AB #293FAB #5429AB
triadic
#293FAB #AB293F #3FAB29
tetradic
#293FAB #AB2980 #AB9529 #29AB54
square
#293FAB #AB2980 #AB9529 #29AB54
split-complementary
#293FAB #AB5429 #80AB29
monochromatic
#111B48 #1D2D7A #293FAB #4059D1 #7184DD
Accessibility & contrast
On white
8.77
#293FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#293FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #293FAB
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##293FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##293FAB | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #293fab; /* rgb */ color: rgb(41, 63, 171); /* oklch */ color: oklch(42.3% 0.174 268.7);
Tailwind
colors: {
custom: {
50: '#7774c5',
500: '#293fab',
950: '#000000',
},
}SCSS
$custom: #293fab; $custom-light: #7774c5; $custom-dark: #000000;
JSON
{
"hex": "#293fab",
"rgb": {
"r": 41,
"g": 63,
"b": 171
},
"hsl": {
"h": 229.846,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.4234,
"c": 0.17394,
"h": 268.7
},
"luminance": 0.06967
}Semantic roles & 50–950 ramp
primary
#293FAB
secondary
#C4B56C
accent
#C943E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82