#2F4EB3#2F4EB3
#2F4EB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.165 H 266.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EB3 |
|---|---|
| RGB | rgb(47, 78, 179) |
| HSL | hsl(226, 58%, 44%) |
| HSV | hsv(226, 74%, 70%) |
| CMYK | cmyk(73.7%, 56.4%, 0%, 29.8%) |
| CIE-LAB | lab(36.57, 24.46, -57.01) |
| CIE-LCH | lch(36.57, 62.03, 293.22°) |
| OKLab | oklab(46.22% -0.0091 -0.1643) |
| OKLCH | oklch(46.22% 0.165 266.8) |
| XYZ | xyz(12.0305, 9.3065, 43.8014) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 5.78
Blue (survey)
#0343DF
ΔE00 6.38
Denim Blue
#3B5B92
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EB3 #B3942F
analogous
#2F90B3 #2F4EB3 #522FB3
triadic
#2F4EB3 #B32F4E #4EB32F
tetradic
#2F4EB3 #B32F90 #B3942F #2FB352
square
#2F4EB3 #B32F90 #B3942F #2FB352
split-complementary
#2F4EB3 #B3522F #90B32F
monochromatic
#162452 #223983 #2F4EB3 #4F6DD1 #7F95DD
Accessibility & contrast
On white
7.34
#2F4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2F4EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EB3
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EB3 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4eb3; /* rgb */ color: rgb(47, 78, 179); /* oklch */ color: oklch(46.2% 0.165 266.8);
Tailwind
colors: {
custom: {
50: '#7a7fca',
500: '#2f4eb3',
950: '#000000',
},
}SCSS
$custom: #2f4eb3; $custom-light: #7a7fca; $custom-dark: #000000;
JSON
{
"hex": "#2f4eb3",
"rgb": {
"r": 47,
"g": 78,
"b": 179
},
"hsl": {
"h": 225.909,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.46224,
"c": 0.16459,
"h": 266.8
},
"luminance": 0.09308
}Semantic roles & 50–950 ramp
primary
#2F4EB3
secondary
#C6B478
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82