#2F4CB2#2F4CB2
#2F4CB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.166 H 267.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CB2 |
|---|---|
| RGB | rgb(47, 76, 178) |
| HSL | hsl(227, 58%, 44%) |
| HSV | hsv(227, 74%, 70%) |
| CMYK | cmyk(73.6%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(35.96, 25.40, -57.41) |
| CIE-LCH | lch(35.96, 62.78, 293.87°) |
| OKLab | oklab(45.74% -0.0077 -0.1655) |
| OKLCH | oklch(45.74% 0.166 267.4) |
| XYZ | xyz(11.7898, 8.9863, 43.2240) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.58
Blue Blue
#2242C7
ΔE00 4.26
Cobalt (survey)
#1E488F
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 6.07
Blue (survey)
#0343DF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CB2 #B2952F
analogous
#2F8EB2 #2F4CB2 #542FB2
triadic
#2F4CB2 #B22F4C #4CB22F
tetradic
#2F4CB2 #B22F8E #B2952F #2FB254
square
#2F4CB2 #B22F8E #B2952F #2FB254
split-complementary
#2F4CB2 #B2542F #8EB22F
monochromatic
#152351 #223782 #2F4CB2 #4E6BD0 #7E93DD
Accessibility & contrast
On white
7.51
#2F4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2F4CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CB2
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CB2 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4cb2; /* rgb */ color: rgb(47, 76, 178); /* oklch */ color: oklch(45.7% 0.166 267.4);
Tailwind
colors: {
custom: {
50: '#7a7dca',
500: '#2f4cb2',
950: '#000000',
},
}SCSS
$custom: #2f4cb2; $custom-light: #7a7dca; $custom-dark: #000000;
JSON
{
"hex": "#2f4cb2",
"rgb": {
"r": 47,
"g": 76,
"b": 178
},
"hsl": {
"h": 226.718,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.45742,
"c": 0.16572,
"h": 267.4
},
"luminance": 0.08988
}Semantic roles & 50–950 ramp
primary
#2F4CB2
secondary
#C6B477
accent
#BF46E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82