#2F5098#2F5098
#2F5098 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.124 H 263.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5098 |
|---|---|
| RGB | rgb(47, 80, 152) |
| HSL | hsl(221, 53%, 39%) |
| HSV | hsv(221, 69%, 60%) |
| CMYK | cmyk(69.1%, 47.4%, 0%, 40.4%) |
| CIE-LAB | lab(35.22, 12.94, -43.05) |
| CIE-LCH | lch(35.22, 44.96, 286.73°) |
| OKLab | oklab(44.59% -0.0137 -0.1232) |
| OKLCH | oklch(44.59% 0.124 263.6) |
| XYZ | xyz(9.7065, 8.6077, 30.8496) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.01
Dusk Blue
#26538D
ΔE00 3.10
Denim Blue
#3B5B92
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.52
Light Navy Blue
#2E5A88
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5098 #98772F
analogous
#2F8598 #2F5098 #432F98
triadic
#2F5098 #982F50 #50982F
tetradic
#2F5098 #982F85 #98772F #2F9843
square
#2F5098 #982F85 #98772F #2F9843
split-complementary
#2F5098 #98432F #85982F
monochromatic
#121F3B #213769 #2F5098 #406AC4 #6F8ED2
Accessibility & contrast
On white
7.72
#2F5098 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2F5098 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5098
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5098 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5098 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#164E97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f5098; /* rgb */ color: rgb(47, 80, 152); /* oklch */ color: oklch(44.6% 0.124 263.6);
Tailwind
colors: {
custom: {
50: '#7480b7',
500: '#2f5098',
950: '#000000',
},
}SCSS
$custom: #2f5098; $custom-light: #7480b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5098",
"rgb": {
"r": 47,
"g": 80,
"b": 152
},
"hsl": {
"h": 221.143,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.44593,
"c": 0.12401,
"h": 263.6
},
"luminance": 0.08609
}Semantic roles & 50–950 ramp
primary
#2F5098
secondary
#BAA069
accent
#AF4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80