#2F539F#2F539F
#2F539F is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.130 H 263.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F539F |
|---|---|
| RGB | rgb(47, 83, 159) |
| HSL | hsl(221, 54%, 40%) |
| HSV | hsv(221, 70%, 62%) |
| CMYK | cmyk(70.4%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(36.54, 13.60, -45.14) |
| CIE-LCH | lch(36.54, 47.14, 286.77°) |
| OKLab | oklab(45.76% -0.0155 -0.1293) |
| OKLCH | oklch(45.76% 0.13 263.2) |
| XYZ | xyz(10.5213, 9.2930, 34.0334) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.22
Denim Blue
#3B5B92
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 3.59
Cobalt (survey)
#1E488F
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.45
Light Navy Blue
#2E5A88
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F539F #9F7B2F
analogous
#2F8B9F #2F539F #432F9F
triadic
#2F539F #9F2F53 #539F2F
tetradic
#2F539F #9F2F8B #9F7B2F #2F9F43
square
#2F539F #9F2F8B #9F7B2F #2F9F43
split-complementary
#2F539F #9F432F #8B9F2F
monochromatic
#132241 #213A70 #2F539F #446EC8 #7393D6
Accessibility & contrast
On white
7.35
#2F539F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2F539F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F539F
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F539F | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f539f; /* rgb */ color: rgb(47, 83, 159); /* oklch */ color: oklch(45.8% 0.130 263.2);
Tailwind
colors: {
custom: {
50: '#7582bc',
500: '#2f539f',
950: '#000000',
},
}SCSS
$custom: #2f539f; $custom-light: #7582bc; $custom-dark: #000000;
JSON
{
"hex": "#2f539f",
"rgb": {
"r": 47,
"g": 83,
"b": 159
},
"hsl": {
"h": 220.714,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.45755,
"c": 0.13027,
"h": 263.2
},
"luminance": 0.09294
}Semantic roles & 50–950 ramp
primary
#2F539F
secondary
#BDA36D
accent
#AE4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81