#2F4DC1#2F4DC1
#2F4DC1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.185 H 267.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DC1 |
|---|---|
| RGB | rgb(47, 77, 193) |
| HSL | hsl(228, 61%, 47%) |
| HSV | hsv(228, 76%, 76%) |
| CMYK | cmyk(75.6%, 60.1%, 0%, 24.3%) |
| CIE-LAB | lab(37.41, 30.33, -63.86) |
| CIE-LCH | lch(37.41, 70.70, 295.40°) |
| OKLab | oklab(47.2% -0.008 -0.1845) |
| OKLCH | oklch(47.2% 0.185 267.5) |
| XYZ | xyz(13.4485, 9.7609, 51.6170) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.92
Blue (survey)
#0343DF
ΔE00 4.55
Cobalt
#0047AB
ΔE00 4.84
Warm Blue
#4B57DB
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DC1 #C1A32F
analogous
#2F96C1 #2F4DC1 #5A2FC1
triadic
#2F4DC1 #C12F4D #4DC12F
tetradic
#2F4DC1 #C12F96 #C1A32F #2FC15A
square
#2F4DC1 #C12F96 #C1A32F #2FC15A
split-complementary
#2F4DC1 #C15A2F #96C12F
monochromatic
#17265F #233990 #2F4DC1 #5771D6 #889BE2
Accessibility & contrast
On white
7.11
#2F4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2F4DC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DC1
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DC1 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f4dc1; /* rgb */ color: rgb(47, 77, 193); /* oklch */ color: oklch(47.2% 0.185 267.5);
Tailwind
colors: {
custom: {
50: '#7d7ed5',
500: '#2f4dc1',
950: '#000000',
},
}SCSS
$custom: #2f4dc1; $custom-light: #7d7ed5; $custom-dark: #000000;
JSON
{
"hex": "#2f4dc1",
"rgb": {
"r": 47,
"g": 77,
"b": 193
},
"hsl": {
"h": 227.671,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.47199,
"c": 0.18465,
"h": 267.5
},
"luminance": 0.09762
}Semantic roles & 50–950 ramp
primary
#2F4DC1
secondary
#CCBC80
accent
#C344E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83