#2F4CC1#2F4CC1
#2F4CC1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.186 H 267.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CC1 |
|---|---|
| RGB | rgb(47, 76, 193) |
| HSL | hsl(228, 61%, 47%) |
| HSV | hsv(228, 76%, 76%) |
| CMYK | cmyk(75.6%, 60.6%, 0%, 24.3%) |
| CIE-LAB | lab(37.16, 30.98, -64.28) |
| CIE-LCH | lch(37.16, 71.35, 295.73°) |
| OKLab | oklab(47.01% -0.0073 -0.1857) |
| OKLCH | oklch(47.01% 0.186 267.7) |
| XYZ | xyz(13.3790, 9.6220, 51.5939) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.08
Sapphire
#0F52BA
ΔE00 4.16
Blue (survey)
#0343DF
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.83
Warm Blue
#4B57DB
ΔE00 5.84
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CC1 #C1A42F
analogous
#2F95C1 #2F4CC1 #5B2FC1
triadic
#2F4CC1 #C12F4C #4CC12F
tetradic
#2F4CC1 #C12F95 #C1A42F #2FC15B
square
#2F4CC1 #C12F95 #C1A42F #2FC15B
split-complementary
#2F4CC1 #C15B2F #95C12F
monochromatic
#17255F #233990 #2F4CC1 #5770D6 #889AE2
Accessibility & contrast
On white
7.18
#2F4CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2F4CC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CC1
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CC1 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f4cc1; /* rgb */ color: rgb(47, 76, 193); /* oklch */ color: oklch(47.0% 0.186 267.7);
Tailwind
colors: {
custom: {
50: '#7d7dd5',
500: '#2f4cc1',
950: '#000000',
},
}SCSS
$custom: #2f4cc1; $custom-light: #7d7dd5; $custom-dark: #000000;
JSON
{
"hex": "#2f4cc1",
"rgb": {
"r": 47,
"g": 76,
"b": 193
},
"hsl": {
"h": 228.082,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.4701,
"c": 0.18585,
"h": 267.7
},
"luminance": 0.09623
}Semantic roles & 50–950 ramp
primary
#2F4CC1
secondary
#CCBD80
accent
#C444E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83