#2F5FC0#2F5FC0
#2F5FC0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.161 H 262.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5FC0 |
|---|---|
| RGB | rgb(47, 95, 192) |
| HSL | hsl(220, 61%, 47%) |
| HSV | hsv(220, 76%, 75%) |
| CMYK | cmyk(75.5%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.14, 18.23, -55.59) |
| CIE-LCH | lch(42.14, 58.50, 288.15°) |
| OKLab | oklab(50.74% -0.0213 -0.1599) |
| OKLCH | oklch(50.74% 0.161 262.4) |
| XYZ | xyz(14.7755, 12.5929, 51.5109) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.59
Sapphire
#0F52BA
ΔE00 4.42
French Blue
#436BAD
ΔE00 4.63
Mid Blue
#276AB3
ΔE00 5.36
Azul
#1D5DEC
ΔE00 5.41
Denim Blue
#3B5B92
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5FC0 #C0902F
analogous
#2FA8C0 #2F5FC0 #482FC0
triadic
#2F5FC0 #C02F5F #5FC02F
tetradic
#2F5FC0 #C02FA8 #C0902F #2FC048
square
#2F5FC0 #C02FA8 #C0902F #2FC048
split-complementary
#2F5FC0 #C0482F #A8C02F
monochromatic
#172E5E #23478F #2F5FC0 #5681D6 #88A5E2
Accessibility & contrast
On white
5.97
#2F5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2F5FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5FC0
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5FC0 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236AC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f5fc0; /* rgb */ color: rgb(47, 95, 192); /* oklch */ color: oklch(50.7% 0.161 262.4);
Tailwind
colors: {
custom: {
50: '#7c8bd4',
500: '#2f5fc0',
950: '#000000',
},
}SCSS
$custom: #2f5fc0; $custom-light: #7c8bd4; $custom-dark: #000000;
JSON
{
"hex": "#2f5fc0",
"rgb": {
"r": 47,
"g": 95,
"b": 192
},
"hsl": {
"h": 220.138,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.50744,
"c": 0.16131,
"h": 262.4
},
"luminance": 0.12595
}Semantic roles & 50–950 ramp
primary
#2F5FC0
secondary
#CBB27F
accent
#AF44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83