#2F519C#2F519C
#2F519C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.129 H 263.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F519C |
|---|---|
| RGB | rgb(47, 81, 156) |
| HSL | hsl(221, 54%, 40%) |
| HSV | hsv(221, 70%, 61%) |
| CMYK | cmyk(69.9%, 48.1%, 0%, 38.8%) |
| CIE-LAB | lab(35.77, 13.79, -44.58) |
| CIE-LCH | lch(35.77, 46.66, 287.19°) |
| OKLab | oklab(45.1% -0.0141 -0.1277) |
| OKLCH | oklch(45.1% 0.129 263.7) |
| XYZ | xyz(10.1134, 8.8885, 32.6287) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.26
Cobalt (survey)
#1E488F
ΔE00 3.45
Denim Blue
#3B5B92
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.15
Light Navy Blue
#2E5A88
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F519C #9C7A2F
analogous
#2F889C #2F519C #432F9C
triadic
#2F519C #9C2F51 #519C2F
tetradic
#2F519C #9C2F88 #9C7A2F #2F9C43
square
#2F519C #9C2F88 #9C7A2F #2F9C43
split-complementary
#2F519C #9C432F #889C2F
monochromatic
#13203E #21396D #2F519C #426BC6 #7190D4
Accessibility & contrast
On white
7.56
#2F519C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2F519C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F519C
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F519C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F519C | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A599F
Deuteranopia (green-blind)
#114F9A
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f519c; /* rgb */ color: rgb(47, 81, 156); /* oklch */ color: oklch(45.1% 0.129 263.7);
Tailwind
colors: {
custom: {
50: '#7581ba',
500: '#2f519c',
950: '#000000',
},
}SCSS
$custom: #2f519c; $custom-light: #7581ba; $custom-dark: #000000;
JSON
{
"hex": "#2f519c",
"rgb": {
"r": 47,
"g": 81,
"b": 156
},
"hsl": {
"h": 221.284,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.45099,
"c": 0.1285,
"h": 263.7
},
"luminance": 0.08889
}Semantic roles & 50–950 ramp
primary
#2F519C
secondary
#BCA36B
accent
#AF4BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80