#2F62AB#2F62AB
#2F62AB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 49.9% C 0.129 H 257.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62AB |
|---|---|
| RGB | rgb(47, 98, 171) |
| HSL | hsl(215, 57%, 43%) |
| HSV | hsv(215, 73%, 67%) |
| CMYK | cmyk(72.5%, 42.7%, 0%, 32.9%) |
| CIE-LAB | lab(41.66, 8.36, -44.09) |
| CIE-LCH | lch(41.66, 44.87, 280.74°) |
| OKLab | oklab(49.94% -0.0274 -0.126) |
| OKLCH | oklch(49.94% 0.129 257.7) |
| XYZ | xyz(12.8880, 12.2786, 40.2110) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.15
Mid Blue
#276AB3
ΔE00 3.38
French Blue
#436BAD
ΔE00 3.56
Denim (survey)
#3B638C
ΔE00 3.90
Denim Blue
#3B5B92
ΔE00 4.28
Light Navy Blue
#2E5A88
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62AB #AB782F
analogous
#2FA0AB #2F62AB #3A2FAB
triadic
#2F62AB #AB2F62 #62AB2F
tetradic
#2F62AB #AB2FA0 #AB782F #2FAB3A
square
#2F62AB #AB2FA0 #AB782F #2FAB3A
split-complementary
#2F62AB #AB3A2F #A0AB2F
monochromatic
#152B4B #22467B #2F62AB #4A80CD #7AA2DA
Accessibility & contrast
On white
6.08
#2F62AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2F62AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62AB
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62AB | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f62ab; /* rgb */ color: rgb(47, 98, 171); /* oklch */ color: oklch(49.9% 0.129 257.7);
Tailwind
colors: {
custom: {
50: '#778ec4',
500: '#2f62ab',
950: '#000000',
},
}SCSS
$custom: #2f62ab; $custom-light: #778ec4; $custom-dark: #000000;
JSON
{
"hex": "#2f62ab",
"rgb": {
"r": 47,
"g": 98,
"b": 171
},
"hsl": {
"h": 215.323,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.49938,
"c": 0.12894,
"h": 257.7
},
"luminance": 0.1228
}Semantic roles & 50–950 ramp
primary
#2F62AB
secondary
#C3A273
accent
#A148E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82