#2F5398#2F5398
#2F5398 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.120 H 262.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5398 |
|---|---|
| RGB | rgb(47, 83, 152) |
| HSL | hsl(219, 53%, 39%) |
| HSV | hsv(219, 69%, 60%) |
| CMYK | cmyk(69.1%, 45.4%, 0%, 40.4%) |
| CIE-LAB | lab(36.09, 10.96, -41.65) |
| CIE-LCH | lch(36.09, 43.07, 284.74°) |
| OKLab | oklab(45.27% -0.0167 -0.1191) |
| OKLCH | oklch(45.27% 0.12 262) |
| XYZ | xyz(9.9310, 9.0569, 30.9245) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.42
Denim Blue
#3B5B92
ΔE00 2.93
Cobalt (survey)
#1E488F
ΔE00 3.70
Light Navy Blue
#2E5A88
ΔE00 4.17
Sapphire
#0F52BA
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5398 #98742F
analogous
#2F8898 #2F5398 #402F98
triadic
#2F5398 #982F53 #53982F
tetradic
#2F5398 #982F88 #98742F #2F9840
square
#2F5398 #982F88 #98742F #2F9840
split-complementary
#2F5398 #98402F #88982F
monochromatic
#12203B #213969 #2F5398 #406DC4 #6F91D2
Accessibility & contrast
On white
7.47
#2F5398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F5398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5398
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5398 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#1E5097
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f5398; /* rgb */ color: rgb(47, 83, 152); /* oklch */ color: oklch(45.3% 0.120 262.0);
Tailwind
colors: {
custom: {
50: '#7482b7',
500: '#2f5398',
950: '#000000',
},
}SCSS
$custom: #2f5398; $custom-light: #7482b7; $custom-dark: #000000;
JSON
{
"hex": "#2f5398",
"rgb": {
"r": 47,
"g": 83,
"b": 152
},
"hsl": {
"h": 219.429,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.45265,
"c": 0.12025,
"h": 262
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#2F5398
secondary
#BA9E69
accent
#AB4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80