#2F5598#2F5598
#2F5598 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.118 H 260.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5598 |
|---|---|
| RGB | rgb(47, 85, 152) |
| HSL | hsl(218, 53%, 39%) |
| HSV | hsv(218, 69%, 60%) |
| CMYK | cmyk(69.1%, 44.1%, 0%, 40.4%) |
| CIE-LAB | lab(36.68, 9.64, -40.71) |
| CIE-LCH | lch(36.68, 41.83, 283.33°) |
| OKLab | oklab(45.72% -0.0187 -0.1163) |
| OKLCH | oklch(45.72% 0.118 260.9) |
| XYZ | xyz(10.0863, 9.3673, 30.9762) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.18
Denim Blue
#3B5B92
ΔE00 2.40
Light Navy Blue
#2E5A88
ΔE00 3.60
Cobalt (survey)
#1E488F
ΔE00 4.28
Sapphire
#0F52BA
ΔE00 4.39
Dusky Blue
#475F94
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5598 #98722F
analogous
#2F8A98 #2F5598 #3E2F98
triadic
#2F5598 #982F55 #55982F
tetradic
#2F5598 #982F8A #98722F #2F983E
square
#2F5598 #982F8A #98722F #2F983E
split-complementary
#2F5598 #983E2F #8A982F
monochromatic
#12213B #213B69 #2F5598 #4070C4 #6F93D2
Accessibility & contrast
On white
7.31
#2F5598 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2F5598 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5598
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5598 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5598 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355C9B
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f5598; /* rgb */ color: rgb(47, 85, 152); /* oklch */ color: oklch(45.7% 0.118 260.9);
Tailwind
colors: {
custom: {
50: '#7484b7',
500: '#2f5598',
950: '#000000',
},
}SCSS
$custom: #2f5598; $custom-light: #7484b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5598",
"rgb": {
"r": 47,
"g": 85,
"b": 152
},
"hsl": {
"h": 218.286,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.45719,
"c": 0.11778,
"h": 260.9
},
"luminance": 0.09368
}Semantic roles & 50–950 ramp
primary
#2F5598
secondary
#BA9D69
accent
#A84CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80