#2F56C2#2F56C2
#2F56C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.175 H 265.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56C2 |
|---|---|
| RGB | rgb(47, 86, 194) |
| HSL | hsl(224, 61%, 47%) |
| HSV | hsv(224, 76%, 76%) |
| CMYK | cmyk(75.8%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.84, 24.84, -60.49) |
| CIE-LCH | lch(39.84, 65.39, 292.33°) |
| OKLab | oklab(49.04% -0.0143 -0.1744) |
| OKLCH | oklch(49.04% 0.175 265.3) |
| XYZ | xyz(14.2342, 11.1534, 52.4311) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.84
Denim
#1560BD
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 5.39
Azul
#1D5DEC
ΔE00 5.55
Cobalt
#0047AB
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56C2 #C29B2F
analogous
#2F9FC2 #2F56C2 #522FC2
triadic
#2F56C2 #C22F56 #56C22F
tetradic
#2F56C2 #C22F9F #C29B2F #2FC252
square
#2F56C2 #C22F9F #C29B2F #2FC252
split-complementary
#2F56C2 #C2522F #9FC22F
monochromatic
#172A5F #234091 #2F56C2 #5879D6 #89A1E2
Accessibility & contrast
On white
6.50
#2F56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2F56C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56C2
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56C2 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f56c2; /* rgb */ color: rgb(47, 86, 194); /* oklch */ color: oklch(49.0% 0.175 265.3);
Tailwind
colors: {
custom: {
50: '#7d85d5',
500: '#2f56c2',
950: '#000000',
},
}SCSS
$custom: #2f56c2; $custom-light: #7d85d5; $custom-dark: #000000;
JSON
{
"hex": "#2f56c2",
"rgb": {
"r": 47,
"g": 86,
"b": 194
},
"hsl": {
"h": 224.082,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.49041,
"c": 0.17503,
"h": 265.3
},
"luminance": 0.11155
}Semantic roles & 50–950 ramp
primary
#2F56C2
secondary
#CCB881
accent
#BA44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83