#2F54C2#2F54C2
#2F54C2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.177 H 265.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F54C2 |
|---|---|
| RGB | rgb(47, 84, 194) |
| HSL | hsl(225, 61%, 47%) |
| HSV | hsv(225, 76%, 76%) |
| CMYK | cmyk(75.8%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.31, 26.15, -61.35) |
| CIE-LCH | lch(39.31, 66.69, 293.08°) |
| OKLab | oklab(48.64% -0.0128 -0.177) |
| OKLCH | oklch(48.64% 0.177 265.9) |
| XYZ | xyz(14.0768, 10.8385, 52.3786) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.87
Warm Blue
#4B57DB
ΔE00 5.30
Cobalt
#0047AB
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.62
Denim
#1560BD
ΔE00 5.83
Azul
#1D5DEC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F54C2 #C29D2F
analogous
#2F9EC2 #2F54C2 #542FC2
triadic
#2F54C2 #C22F54 #54C22F
tetradic
#2F54C2 #C22F9E #C29D2F #2FC254
square
#2F54C2 #C22F9E #C29D2F #2FC254
split-complementary
#2F54C2 #C2542F #9EC22F
monochromatic
#17295F #233F91 #2F54C2 #5878D6 #899FE2
Accessibility & contrast
On white
6.63
#2F54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2F54C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F54C2
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F54C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F54C2 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f54c2; /* rgb */ color: rgb(47, 84, 194); /* oklch */ color: oklch(48.6% 0.177 265.9);
Tailwind
colors: {
custom: {
50: '#7d83d5',
500: '#2f54c2',
950: '#000000',
},
}SCSS
$custom: #2f54c2; $custom-light: #7d83d5; $custom-dark: #000000;
JSON
{
"hex": "#2f54c2",
"rgb": {
"r": 47,
"g": 84,
"b": 194
},
"hsl": {
"h": 224.898,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.48642,
"c": 0.17748,
"h": 265.9
},
"luminance": 0.1084
}Semantic roles & 50–950 ramp
primary
#2F54C2
secondary
#CCB981
accent
#BC44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83