#2F5CAB#2F5CAB
#2F5CAB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.136 H 260.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CAB |
|---|---|
| RGB | rgb(47, 92, 171) |
| HSL | hsl(218, 57%, 43%) |
| HSV | hsv(218, 73%, 67%) |
| CMYK | cmyk(72.5%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.91, 12.23, -46.88) |
| CIE-LCH | lch(39.91, 48.45, 284.63°) |
| OKLab | oklab(48.59% -0.0219 -0.1343) |
| OKLCH | oklch(48.59% 0.136 260.7) |
| XYZ | xyz(12.3475, 11.1976, 40.0308) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.97
Denim Blue
#3B5B92
ΔE00 3.34
Sapphire
#0F52BA
ΔE00 3.83
Light Navy Blue
#2E5A88
ΔE00 4.57
Dusky Blue
#475F94
ΔE00 4.60
Denim (survey)
#3B638C
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CAB #AB7E2F
analogous
#2F9AAB #2F5CAB #402FAB
triadic
#2F5CAB #AB2F5C #5CAB2F
tetradic
#2F5CAB #AB2F9A #AB7E2F #2FAB40
square
#2F5CAB #AB2F9A #AB7E2F #2FAB40
split-complementary
#2F5CAB #AB402F #9AAB2F
monochromatic
#15284B #22427B #2F5CAB #4A7ACD #7A9DDA
Accessibility & contrast
On white
6.48
#2F5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F5CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CAB
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CAB | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#1959A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5cab; /* rgb */ color: rgb(47, 92, 171); /* oklch */ color: oklch(48.6% 0.136 260.7);
Tailwind
colors: {
custom: {
50: '#7789c4',
500: '#2f5cab',
950: '#000000',
},
}SCSS
$custom: #2f5cab; $custom-light: #7789c4; $custom-dark: #000000;
JSON
{
"hex": "#2f5cab",
"rgb": {
"r": 47,
"g": 92,
"b": 171
},
"hsl": {
"h": 218.226,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.48591,
"c": 0.13607,
"h": 260.7
},
"luminance": 0.11199
}Semantic roles & 50–950 ramp
primary
#2F5CAB
secondary
#C3A673
accent
#A948E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82