#2F55C4#2F55C4
#2F55C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.179 H 265.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F55C4 |
|---|---|
| RGB | rgb(47, 85, 196) |
| HSL | hsl(225, 61%, 48%) |
| HSV | hsv(225, 76%, 77%) |
| CMYK | cmyk(76%, 56.6%, 0%, 23.1%) |
| CIE-LAB | lab(39.72, 26.24, -61.84) |
| CIE-LCH | lch(39.72, 67.18, 293.00°) |
| OKLab | oklab(49% -0.0134 -0.1784) |
| OKLCH | oklch(49% 0.179 265.7) |
| XYZ | xyz(14.3811, 11.0853, 53.5956) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 5.10
Azul
#1D5DEC
ΔE00 5.47
Denim
#1560BD
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 5.90
Cobalt
#0047AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F55C4 #C49E2F
analogous
#2F9FC4 #2F55C4 #532FC4
triadic
#2F55C4 #C42F55 #55C42F
tetradic
#2F55C4 #C42F9F #C49E2F #2FC453
square
#2F55C4 #C42F9F #C49E2F #2FC453
split-complementary
#2F55C4 #C4532F #9FC42F
monochromatic
#172A61 #234093 #2F55C4 #5979D7 #8AA1E3
Accessibility & contrast
On white
6.53
#2F55C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2F55C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F55C4
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F55C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F55C4 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f55c4; /* rgb */ color: rgb(47, 85, 196); /* oklch */ color: oklch(49.0% 0.179 265.7);
Tailwind
colors: {
custom: {
50: '#7d84d7',
500: '#2f55c4',
950: '#000000',
},
}SCSS
$custom: #2f55c4; $custom-light: #7d84d7; $custom-dark: #000000;
JSON
{
"hex": "#2f55c4",
"rgb": {
"r": 47,
"g": 85,
"b": 196
},
"hsl": {
"h": 224.698,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.49003,
"c": 0.17893,
"h": 265.7
},
"luminance": 0.11087
}Semantic roles & 50–950 ramp
primary
#2F55C4
secondary
#CDBA82
accent
#BB43E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83