#2F4CBD#2F4CBD
#2F4CBD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.181 H 267.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CBD |
|---|---|
| RGB | rgb(47, 76, 189) |
| HSL | hsl(228, 60%, 46%) |
| HSV | hsv(228, 75%, 74%) |
| CMYK | cmyk(75.1%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(36.83, 29.50, -62.47) |
| CIE-LCH | lch(36.83, 69.08, 295.28°) |
| OKLab | oklab(46.67% -0.0074 -0.1804) |
| OKLCH | oklch(46.67% 0.181 267.7) |
| XYZ | xyz(12.9388, 9.4459, 49.2756) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.29
Sapphire
#0F52BA
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.95
Warm Blue
#4B57DB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CBD #BDA02F
analogous
#2F93BD #2F4CBD #592FBD
triadic
#2F4CBD #BD2F4C #4CBD2F
tetradic
#2F4CBD #BD2F93 #BDA02F #2FBD59
square
#2F4CBD #BD2F93 #BDA02F #2FBD59
split-complementary
#2F4CBD #BD592F #93BD2F
monochromatic
#17255B #23388C #2F4CBD #556FD5 #8698E1
Accessibility & contrast
On white
7.27
#2F4CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2F4CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CBD
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CBD | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f4cbd; /* rgb */ color: rgb(47, 76, 189); /* oklch */ color: oklch(46.7% 0.181 267.7);
Tailwind
colors: {
custom: {
50: '#7c7dd2',
500: '#2f4cbd',
950: '#000000',
},
}SCSS
$custom: #2f4cbd; $custom-light: #7c7dd2; $custom-dark: #000000;
JSON
{
"hex": "#2f4cbd",
"rgb": {
"r": 47,
"g": 76,
"b": 189
},
"hsl": {
"h": 227.746,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.46666,
"c": 0.18056,
"h": 267.7
},
"luminance": 0.09447
}Semantic roles & 50–950 ramp
primary
#2F4CBD
secondary
#CABB7E
accent
#C344E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83