#2F5CDA#2F5CDA
#2F5CDA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.199 H 265.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CDA |
|---|---|
| RGB | rgb(47, 92, 218) |
| HSL | hsl(224, 70%, 52%) |
| HSV | hsv(224, 78%, 85%) |
| CMYK | cmyk(78.4%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(43.24, 29.92, -68.78) |
| CIE-LCH | lch(43.24, 75.01, 293.51°) |
| OKLab | oklab(52.17% -0.0171 -0.1987) |
| OKLCH | oklch(52.17% 0.199 265.1) |
| XYZ | xyz(17.6498, 13.3185, 67.9566) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.10
Warm Blue
#4B57DB
ΔE00 3.89
Royal Blue
#4169E1
ΔE00 4.54
Electric Blue
#0652FF
ΔE00 4.99
Bright Blue
#0165FC
ΔE00 5.00
Denim
#1560BD
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CDA #DAAD2F
analogous
#2FB1DA #2F5CDA #582FDA
triadic
#2F5CDA #DA2F5C #5CDA2F
tetradic
#2F5CDA #DA2FB1 #DAAD2F #2FDA58
square
#2F5CDA #DA2FB1 #DAAD2F #2FDA58
split-complementary
#2F5CDA #DA582F #B1DA2F
monochromatic
#163079 #1F44AD #2F5CDA #6385E3 #97ADEC
Accessibility & contrast
On white
5.73
#2F5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2F5CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CDA
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CDA | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f5cda; /* rgb */ color: rgb(47, 92, 218); /* oklch */ color: oklch(52.2% 0.199 265.1);
Tailwind
colors: {
custom: {
50: '#8289e6',
500: '#2f5cda',
950: '#000000',
},
}SCSS
$custom: #2f5cda; $custom-light: #8289e6; $custom-dark: #000000;
JSON
{
"hex": "#2f5cda",
"rgb": {
"r": 47,
"g": 92,
"b": 218
},
"hsl": {
"h": 224.211,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.52171,
"c": 0.19946,
"h": 265.1
},
"luminance": 0.13321
}Semantic roles & 50–950 ramp
primary
#2F5CDA
secondary
#D8C48D
accent
#BE3BED
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B16
muted
#7D7C84