#2F5AC3#2F5AC3
#2F5AC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.171 H 264.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5AC3 |
|---|---|
| RGB | rgb(47, 90, 195) |
| HSL | hsl(223, 61%, 47%) |
| HSV | hsv(223, 76%, 76%) |
| CMYK | cmyk(75.9%, 53.8%, 0%, 23.5%) |
| CIE-LAB | lab(40.99, 22.61, -59.21) |
| CIE-LCH | lch(40.99, 63.38, 290.90°) |
| OKLab | oklab(49.93% -0.0171 -0.1706) |
| OKLCH | oklch(49.93% 0.171 264.3) |
| XYZ | xyz(14.6753, 11.8552, 53.1340) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.36
Denim
#1560BD
ΔE00 4.06
Azul
#1D5DEC
ΔE00 5.03
Warm Blue
#4B57DB
ΔE00 5.71
Denim Blue
#3B5B92
ΔE00 6.16
French Blue
#436BAD
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5AC3 #C3982F
analogous
#2FA4C3 #2F5AC3 #4E2FC3
triadic
#2F5AC3 #C32F5A #5AC32F
tetradic
#2F5AC3 #C32FA4 #C3982F #2FC34E
square
#2F5AC3 #C32FA4 #C3982F #2FC34E
split-complementary
#2F5AC3 #C34E2F #A4C32F
monochromatic
#172C60 #234392 #2F5AC3 #587DD7 #8AA4E3
Accessibility & contrast
On white
6.23
#2F5AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2F5AC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5AC3
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5AC3 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f5ac3; /* rgb */ color: rgb(47, 90, 195); /* oklch */ color: oklch(49.9% 0.171 264.3);
Tailwind
colors: {
custom: {
50: '#7d88d6',
500: '#2f5ac3',
950: '#000000',
},
}SCSS
$custom: #2f5ac3; $custom-light: #7d88d6; $custom-dark: #000000;
JSON
{
"hex": "#2f5ac3",
"rgb": {
"r": 47,
"g": 90,
"b": 195
},
"hsl": {
"h": 222.568,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.49931,
"c": 0.17148,
"h": 264.3
},
"luminance": 0.11857
}Semantic roles & 50–950 ramp
primary
#2F5AC3
secondary
#CDB781
accent
#B644E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83