#2F5BAF#2F5BAF
#2F5BAF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.143 H 261.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5BAF |
|---|---|
| RGB | rgb(47, 91, 175) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 73%, 69%) |
| CMYK | cmyk(73.1%, 48%, 0%, 31.4%) |
| CIE-LAB | lab(39.88, 14.40, -49.29) |
| CIE-LCH | lch(39.88, 51.35, 286.29°) |
| OKLab | oklab(48.65% -0.0203 -0.1414) |
| OKLCH | oklch(48.65% 0.143 261.8) |
| XYZ | xyz(12.6485, 11.1803, 42.0405) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.13
Sapphire
#0F52BA
ΔE00 3.34
Denim Blue
#3B5B92
ΔE00 3.75
Dusky Blue
#475F94
ΔE00 4.88
Dusk Blue
#26538D
ΔE00 5.05
Light Navy Blue
#2E5A88
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5BAF #AF832F
analogous
#2F9BAF #2F5BAF #432FAF
triadic
#2F5BAF #AF2F5B #5BAF2F
tetradic
#2F5BAF #AF2F9B #AF832F #2FAF43
square
#2F5BAF #AF2F9B #AF832F #2FAF43
split-complementary
#2F5BAF #AF432F #9BAF2F
monochromatic
#15294F #22427F #2F5BAF #4C79CF #7C9DDC
Accessibility & contrast
On white
6.49
#2F5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F5BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5BAF
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5BAF | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#0958AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f5baf; /* rgb */ color: rgb(47, 91, 175); /* oklch */ color: oklch(48.7% 0.143 261.8);
Tailwind
colors: {
custom: {
50: '#7888c7',
500: '#2f5baf',
950: '#000000',
},
}SCSS
$custom: #2f5baf; $custom-light: #7888c7; $custom-dark: #000000;
JSON
{
"hex": "#2f5baf",
"rgb": {
"r": 47,
"g": 91,
"b": 175
},
"hsl": {
"h": 219.375,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.48652,
"c": 0.14285,
"h": 261.8
},
"luminance": 0.11182
}Semantic roles & 50–950 ramp
primary
#2F5BAF
secondary
#C4A975
accent
#AC47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82