#2F5CAF#2F5CAF
#2F5CAF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.142 H 261.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CAF |
|---|---|
| RGB | rgb(47, 92, 175) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 73%, 69%) |
| CMYK | cmyk(73.1%, 47.4%, 0%, 31.4%) |
| CIE-LAB | lab(40.17, 13.75, -48.83) |
| CIE-LCH | lch(40.17, 50.73, 285.72°) |
| OKLab | oklab(48.87% -0.0212 -0.14) |
| OKLCH | oklch(48.87% 0.142 261.4) |
| XYZ | xyz(12.7345, 11.3524, 42.0692) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 3.62
Denim Blue
#3B5B92
ΔE00 3.76
Dusky Blue
#475F94
ΔE00 4.85
Denim (survey)
#3B638C
ΔE00 4.99
Light Navy Blue
#2E5A88
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CAF #AF822F
analogous
#2F9CAF #2F5CAF #422FAF
triadic
#2F5CAF #AF2F5C #5CAF2F
tetradic
#2F5CAF #AF2F9C #AF822F #2FAF42
square
#2F5CAF #AF2F9C #AF822F #2FAF42
split-complementary
#2F5CAF #AF422F #9CAF2F
monochromatic
#15294F #22437F #2F5CAF #4C7ACF #7C9EDC
Accessibility & contrast
On white
6.42
#2F5CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2F5CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CAF
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CAF | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#0F59AD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5caf; /* rgb */ color: rgb(47, 92, 175); /* oklch */ color: oklch(48.9% 0.142 261.4);
Tailwind
colors: {
custom: {
50: '#7889c7',
500: '#2f5caf',
950: '#000000',
},
}SCSS
$custom: #2f5caf; $custom-light: #7889c7; $custom-dark: #000000;
JSON
{
"hex": "#2f5caf",
"rgb": {
"r": 47,
"g": 92,
"b": 175
},
"hsl": {
"h": 218.906,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.4887,
"c": 0.14163,
"h": 261.4
},
"luminance": 0.11354
}Semantic roles & 50–950 ramp
primary
#2F5CAF
secondary
#C4A975
accent
#AB47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82