#2F5397#2F5397
#2F5397 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.119 H 261.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5397 |
|---|---|
| RGB | rgb(47, 83, 151) |
| HSL | hsl(219, 53%, 39%) |
| HSV | hsv(219, 69%, 59%) |
| CMYK | cmyk(68.9%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(36.03, 10.58, -41.15) |
| CIE-LCH | lch(36.03, 42.48, 284.42°) |
| OKLab | oklab(45.2% -0.0169 -0.1176) |
| OKLCH | oklch(45.2% 0.119 261.8) |
| XYZ | xyz(9.8495, 9.0242, 30.4949) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.31
Denim Blue
#3B5B92
ΔE00 2.89
Cobalt (survey)
#1E488F
ΔE00 3.67
Light Navy Blue
#2E5A88
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.47
Light Navy
#155084
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5397 #97732F
analogous
#2F8797 #2F5397 #3F2F97
triadic
#2F5397 #972F53 #53972F
tetradic
#2F5397 #972F87 #97732F #2F973F
square
#2F5397 #972F87 #97732F #2F973F
split-complementary
#2F5397 #973F2F #87972F
monochromatic
#12203A #203968 #2F5397 #406DC3 #6E91D2
Accessibility & contrast
On white
7.49
#2F5397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F5397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5397
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5397 | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f5397; /* rgb */ color: rgb(47, 83, 151); /* oklch */ color: oklch(45.2% 0.119 261.8);
Tailwind
colors: {
custom: {
50: '#7482b6',
500: '#2f5397',
950: '#000000',
},
}SCSS
$custom: #2f5397; $custom-light: #7482b6; $custom-dark: #000000;
JSON
{
"hex": "#2f5397",
"rgb": {
"r": 47,
"g": 83,
"b": 151
},
"hsl": {
"h": 219.231,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.45197,
"c": 0.11881,
"h": 261.8
},
"luminance": 0.09025
}Semantic roles & 50–950 ramp
primary
#2F5397
secondary
#B99D68
accent
#AA4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80