#2F4BBD#2F4BBD
#2F4BBD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.182 H 267.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BBD |
|---|---|
| RGB | rgb(47, 75, 189) |
| HSL | hsl(228, 60%, 46%) |
| HSV | hsv(228, 75%, 74%) |
| CMYK | cmyk(75.1%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(36.57, 30.15, -62.88) |
| CIE-LCH | lch(36.57, 69.74, 295.62°) |
| OKLab | oklab(46.48% -0.0067 -0.1816) |
| OKLCH | oklch(46.48% 0.182 267.9) |
| XYZ | xyz(12.8705, 9.3092, 49.2528) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.00
Sapphire
#0F52BA
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.42
Blue (survey)
#0343DF
ΔE00 4.66
Ocean Blue
#4F42B5
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BBD #BDA12F
analogous
#2F92BD #2F4BBD #5A2FBD
triadic
#2F4BBD #BD2F4B #4BBD2F
tetradic
#2F4BBD #BD2F92 #BDA12F #2FBD5A
square
#2F4BBD #BD2F92 #BDA12F #2FBD5A
split-complementary
#2F4BBD #BD5A2F #92BD2F
monochromatic
#17245B #23388C #2F4BBD #556ED5 #8698E1
Accessibility & contrast
On white
7.34
#2F4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2F4BBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BBD
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BBD | 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)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4bbd; /* rgb */ color: rgb(47, 75, 189); /* oklch */ color: oklch(46.5% 0.182 267.9);
Tailwind
colors: {
custom: {
50: '#7c7dd2',
500: '#2f4bbd',
950: '#000000',
},
}SCSS
$custom: #2f4bbd; $custom-light: #7c7dd2; $custom-dark: #000000;
JSON
{
"hex": "#2f4bbd",
"rgb": {
"r": 47,
"g": 75,
"b": 189
},
"hsl": {
"h": 228.169,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.46475,
"c": 0.18177,
"h": 267.9
},
"luminance": 0.09311
}Semantic roles & 50–950 ramp
primary
#2F4BBD
secondary
#CABB7E
accent
#C444E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83