#2F5793#2F5793
#2F5793 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.108 H 258.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5793 |
|---|---|
| RGB | rgb(47, 87, 147) |
| HSL | hsl(216, 52%, 38%) |
| HSV | hsv(216, 68%, 58%) |
| CMYK | cmyk(68%, 40.8%, 0%, 42.4%) |
| CIE-LAB | lab(36.98, 6.46, -37.22) |
| CIE-LCH | lch(36.98, 37.77, 279.85°) |
| OKLab | oklab(45.85% -0.0218 -0.106) |
| OKLCH | oklch(45.85% 0.108 258.4) |
| XYZ | xyz(9.8451, 9.5263, 28.9180) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.74
Denim Blue
#3B5B92
ΔE00 1.97
Light Navy Blue
#2E5A88
ΔE00 2.57
Light Navy
#155084
ΔE00 4.18
Dusky Blue
#475F94
ΔE00 4.35
Denim (survey)
#3B638C
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5793 #936B2F
analogous
#2F8993 #2F5793 #392F93
triadic
#2F5793 #932F57 #57932F
tetradic
#2F5793 #932F89 #936B2F #2F9339
square
#2F5793 #932F89 #936B2F #2F9339
split-complementary
#2F5793 #93392F #89932F
monochromatic
#112036 #203C65 #2F5793 #3E72C1 #6C94D0
Accessibility & contrast
On white
7.23
#2F5793 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2F5793 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5793
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5793 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5793 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5C95
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f5793; /* rgb */ color: rgb(47, 87, 147); /* oklch */ color: oklch(45.9% 0.108 258.4);
Tailwind
colors: {
custom: {
50: '#7386b3',
500: '#2f5793',
950: '#000000',
},
}SCSS
$custom: #2f5793; $custom-light: #7386b3; $custom-dark: #000000;
JSON
{
"hex": "#2f5793",
"rgb": {
"r": 47,
"g": 87,
"b": 147
},
"hsl": {
"h": 216,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.45852,
"c": 0.10823,
"h": 258.4
},
"luminance": 0.09527
}Semantic roles & 50–950 ramp
primary
#2F5793
secondary
#B79766
accent
#A24DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80