#2F5698#2F5698
#2F5698 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.117 H 260.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5698 |
|---|---|
| RGB | rgb(47, 86, 152) |
| HSL | hsl(218, 53%, 39%) |
| HSV | hsv(218, 69%, 60%) |
| CMYK | cmyk(69.1%, 43.4%, 0%, 40.4%) |
| CIE-LAB | lab(36.98, 8.99, -40.23) |
| CIE-LCH | lch(36.98, 41.23, 282.59°) |
| OKLab | oklab(45.95% -0.0197 -0.1149) |
| OKLCH | oklch(45.95% 0.117 260.3) |
| XYZ | xyz(10.1656, 9.5259, 31.0026) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.15
Denim Blue
#3B5B92
ΔE00 2.19
Light Navy Blue
#2E5A88
ΔE00 3.33
Dusky Blue
#475F94
ΔE00 4.39
Sapphire
#0F52BA
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5698 #98712F
analogous
#2F8B98 #2F5698 #3C2F98
triadic
#2F5698 #982F56 #56982F
tetradic
#2F5698 #982F8B #98712F #2F983C
square
#2F5698 #982F8B #98712F #2F983C
split-complementary
#2F5698 #983C2F #8B982F
monochromatic
#12213B #213C69 #2F5698 #4071C4 #6F94D2
Accessibility & contrast
On white
7.23
#2F5698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2F5698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5698
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5698 | 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)
#375C9B
Deuteranopia (green-blind)
#265297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f5698; /* rgb */ color: rgb(47, 86, 152); /* oklch */ color: oklch(45.9% 0.117 260.3);
Tailwind
colors: {
custom: {
50: '#7485b7',
500: '#2f5698',
950: '#000000',
},
}SCSS
$custom: #2f5698; $custom-light: #7485b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5698",
"rgb": {
"r": 47,
"g": 86,
"b": 152
},
"hsl": {
"h": 217.714,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.45947,
"c": 0.11655,
"h": 260.3
},
"luminance": 0.09527
}Semantic roles & 50–950 ramp
primary
#2F5698
secondary
#BA9C69
accent
#A64CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80