#2F5CC8#2F5CC8
#2F5CC8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.176 H 264.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CC8 |
|---|---|
| RGB | rgb(47, 92, 200) |
| HSL | hsl(222, 62%, 48%) |
| HSV | hsv(222, 77%, 78%) |
| CMYK | cmyk(76.5%, 54%, 0%, 21.6%) |
| CIE-LAB | lab(41.89, 23.19, -60.64) |
| CIE-LCH | lch(41.89, 64.93, 290.93°) |
| OKLab | oklab(50.73% -0.0182 -0.1748) |
| OKLCH | oklch(50.73% 0.176 264.1) |
| XYZ | xyz(15.4211, 12.4270, 56.2183) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 4.10
Azul
#1D5DEC
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 5.48
Royal Blue
#4169E1
ΔE00 5.71
French Blue
#436BAD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CC8 #C89B2F
analogous
#2FA8C8 #2F5CC8 #4E2FC8
triadic
#2F5CC8 #C82F5C #5CC82F
tetradic
#2F5CC8 #C82FA8 #C89B2F #2FC84E
square
#2F5CC8 #C82FA8 #C89B2F #2FC84E
split-complementary
#2F5CC8 #C84E2F #A8C82F
monochromatic
#182E65 #234596 #2F5CC8 #5C80D9 #8DA7E4
Accessibility & contrast
On white
6.02
#2F5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2F5CC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CC8
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CC8 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f5cc8; /* rgb */ color: rgb(47, 92, 200); /* oklch */ color: oklch(50.7% 0.176 264.1);
Tailwind
colors: {
custom: {
50: '#7e89d9',
500: '#2f5cc8',
950: '#000000',
},
}SCSS
$custom: #2f5cc8; $custom-light: #7e89d9; $custom-dark: #000000;
JSON
{
"hex": "#2f5cc8",
"rgb": {
"r": 47,
"g": 92,
"b": 200
},
"hsl": {
"h": 222.353,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.50728,
"c": 0.17574,
"h": 264.1
},
"luminance": 0.12429
}Semantic roles & 50–950 ramp
primary
#2F5CC8
secondary
#CFB984
accent
#B543E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83