#2F5CC2#2F5CC2
#2F5CC2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.168 H 263.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CC2 |
|---|---|
| RGB | rgb(47, 92, 194) |
| HSL | hsl(222, 61%, 47%) |
| HSV | hsv(222, 76%, 76%) |
| CMYK | cmyk(75.8%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.46, 20.93, -57.86) |
| CIE-LCH | lch(41.46, 61.53, 289.89°) |
| OKLab | oklab(50.27% -0.0187 -0.1666) |
| OKLCH | oklch(50.27% 0.168 263.6) |
| XYZ | xyz(14.7336, 12.1520, 52.5975) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.44
Sapphire
#0F52BA
ΔE00 3.70
Azul
#1D5DEC
ΔE00 5.09
French Blue
#436BAD
ΔE00 5.64
Denim Blue
#3B5B92
ΔE00 5.96
Warm Blue
#4B57DB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CC2 #C2952F
analogous
#2FA5C2 #2F5CC2 #4C2FC2
triadic
#2F5CC2 #C22F5C #5CC22F
tetradic
#2F5CC2 #C22FA5 #C2952F #2FC24C
square
#2F5CC2 #C22FA5 #C2952F #2FC24C
split-complementary
#2F5CC2 #C24C2F #A5C22F
monochromatic
#172D5F #234591 #2F5CC2 #587FD6 #89A4E2
Accessibility & contrast
On white
6.12
#2F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2F5CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CC2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CC2 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f5cc2; /* rgb */ color: rgb(47, 92, 194); /* oklch */ color: oklch(50.3% 0.168 263.6);
Tailwind
colors: {
custom: {
50: '#7d89d5',
500: '#2f5cc2',
950: '#000000',
},
}SCSS
$custom: #2f5cc2; $custom-light: #7d89d5; $custom-dark: #000000;
JSON
{
"hex": "#2f5cc2",
"rgb": {
"r": 47,
"g": 92,
"b": 194
},
"hsl": {
"h": 221.633,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.50266,
"c": 0.16768,
"h": 263.6
},
"luminance": 0.12154
}Semantic roles & 50–950 ramp
primary
#2F5CC2
secondary
#CCB581
accent
#B344E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83