#2F5AC1#2F5AC1
#2F5AC1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.169 H 264.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5AC1 |
|---|---|
| RGB | rgb(47, 90, 193) |
| HSL | hsl(222, 61%, 47%) |
| HSV | hsv(222, 76%, 76%) |
| CMYK | cmyk(75.6%, 53.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.84, 21.86, -58.28) |
| CIE-LCH | lch(40.84, 62.25, 290.56°) |
| OKLab | oklab(49.78% -0.0173 -0.1679) |
| OKLCH | oklch(49.78% 0.169 264.1) |
| XYZ | xyz(14.4507, 11.7653, 51.9511) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.22
Denim
#1560BD
ΔE00 3.93
Azul
#1D5DEC
ΔE00 5.28
Denim Blue
#3B5B92
ΔE00 5.91
Warm Blue
#4B57DB
ΔE00 5.95
French Blue
#436BAD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5AC1 #C1962F
analogous
#2FA3C1 #2F5AC1 #4D2FC1
triadic
#2F5AC1 #C12F5A #5AC12F
tetradic
#2F5AC1 #C12FA3 #C1962F #2FC14D
square
#2F5AC1 #C12FA3 #C1962F #2FC14D
split-complementary
#2F5AC1 #C14D2F #A3C12F
monochromatic
#172C5F #234390 #2F5AC1 #577DD6 #88A3E2
Accessibility & contrast
On white
6.26
#2F5AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2F5AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5AC1
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5AC1 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0967C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5ac1; /* rgb */ color: rgb(47, 90, 193); /* oklch */ color: oklch(49.8% 0.169 264.1);
Tailwind
colors: {
custom: {
50: '#7c88d4',
500: '#2f5ac1',
950: '#000000',
},
}SCSS
$custom: #2f5ac1; $custom-light: #7c88d4; $custom-dark: #000000;
JSON
{
"hex": "#2f5ac1",
"rgb": {
"r": 47,
"g": 90,
"b": 193
},
"hsl": {
"h": 222.329,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.49776,
"c": 0.16878,
"h": 264.1
},
"luminance": 0.11767
}Semantic roles & 50–950 ramp
primary
#2F5AC1
secondary
#CCB580
accent
#B544E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83