#2F4ABD#2F4ABD
#2F4ABD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 268.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4ABD |
|---|---|
| RGB | rgb(47, 74, 189) |
| HSL | hsl(229, 60%, 46%) |
| HSV | hsv(229, 75%, 74%) |
| CMYK | cmyk(75.1%, 60.8%, 0%, 25.9%) |
| CIE-LAB | lab(36.32, 30.80, -63.30) |
| CIE-LCH | lch(36.32, 70.40, 295.95°) |
| OKLab | oklab(46.29% -0.006 -0.1829) |
| OKLCH | oklch(46.29% 0.183 268.1) |
| XYZ | xyz(12.8032, 9.1746, 49.2304) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.71
Sapphire
#0F52BA
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4ABD #BDA22F
analogous
#2F91BD #2F4ABD #5B2FBD
triadic
#2F4ABD #BD2F4A #4ABD2F
tetradic
#2F4ABD #BD2F91 #BDA22F #2FBD5B
square
#2F4ABD #BD2F91 #BDA22F #2FBD5B
split-complementary
#2F4ABD #BD5B2F #91BD2F
monochromatic
#17245B #23378C #2F4ABD #556DD5 #8697E1
Accessibility & contrast
On white
7.41
#2F4ABD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2F4ABD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4ABD
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4ABD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4ABD | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4abd; /* rgb */ color: rgb(47, 74, 189); /* oklch */ color: oklch(46.3% 0.183 268.1);
Tailwind
colors: {
custom: {
50: '#7d7cd2',
500: '#2f4abd',
950: '#000000',
},
}SCSS
$custom: #2f4abd; $custom-light: #7d7cd2; $custom-dark: #000000;
JSON
{
"hex": "#2f4abd",
"rgb": {
"r": 47,
"g": 74,
"b": 189
},
"hsl": {
"h": 228.592,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.46286,
"c": 0.18298,
"h": 268.1
},
"luminance": 0.09176
}Semantic roles & 50–950 ramp
primary
#2F4ABD
secondary
#CABC7E
accent
#C544E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83