#2F5CAA#2F5CAA
#2F5CAA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.135 H 260.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CAA |
|---|---|
| RGB | rgb(47, 92, 170) |
| HSL | hsl(218, 57%, 43%) |
| HSV | hsv(218, 72%, 67%) |
| CMYK | cmyk(72.4%, 45.9%, 0%, 33.3%) |
| CIE-LAB | lab(39.85, 11.86, -46.39) |
| CIE-LCH | lch(39.85, 47.88, 284.34°) |
| OKLab | oklab(48.52% -0.0221 -0.1329) |
| OKLCH | oklch(48.52% 0.135 260.6) |
| XYZ | xyz(12.2525, 11.1596, 39.5307) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 3.24
Sapphire
#0F52BA
ΔE00 3.89
Light Navy Blue
#2E5A88
ΔE00 4.46
Dusky Blue
#475F94
ΔE00 4.54
Denim (survey)
#3B638C
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CAA #AA7D2F
analogous
#2F99AA #2F5CAA #402FAA
triadic
#2F5CAA #AA2F5C #5CAA2F
tetradic
#2F5CAA #AA2F99 #AA7D2F #2FAA40
square
#2F5CAA #AA2F99 #AA7D2F #2FAA40
split-complementary
#2F5CAA #AA402F #99AA2F
monochromatic
#14284A #22427A #2F5CAA #4979CD #799DDA
Accessibility & contrast
On white
6.50
#2F5CAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2F5CAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CAA
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CAA | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#1B59A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5caa; /* rgb */ color: rgb(47, 92, 170); /* oklch */ color: oklch(48.5% 0.135 260.6);
Tailwind
colors: {
custom: {
50: '#7789c4',
500: '#2f5caa',
950: '#000000',
},
}SCSS
$custom: #2f5caa; $custom-light: #7789c4; $custom-dark: #000000;
JSON
{
"hex": "#2f5caa",
"rgb": {
"r": 47,
"g": 92,
"b": 170
},
"hsl": {
"h": 218.049,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.48522,
"c": 0.13468,
"h": 260.6
},
"luminance": 0.11161
}Semantic roles & 50–950 ramp
primary
#2F5CAA
secondary
#C2A572
accent
#A848E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82