#2F4EB2#2F4EB2
#2F4EB2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.163 H 266.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EB2 |
|---|---|
| RGB | rgb(47, 78, 178) |
| HSL | hsl(226, 58%, 44%) |
| HSV | hsv(226, 74%, 70%) |
| CMYK | cmyk(73.6%, 56.2%, 0%, 30.2%) |
| CIE-LAB | lab(36.49, 24.08, -56.54) |
| CIE-LCH | lch(36.49, 61.45, 293.07°) |
| OKLab | oklab(46.14% -0.0092 -0.163) |
| OKLCH | oklch(46.14% 0.163 266.8) |
| XYZ | xyz(11.9298, 9.2662, 43.2707) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 4.79
Cobalt (survey)
#1E488F
ΔE00 5.66
Denim Blue
#3B5B92
ΔE00 6.33
Dusk Blue
#26538D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EB2 #B2932F
analogous
#2F8FB2 #2F4EB2 #522FB2
triadic
#2F4EB2 #B22F4E #4EB22F
tetradic
#2F4EB2 #B22F8F #B2932F #2FB252
square
#2F4EB2 #B22F8F #B2932F #2FB252
split-complementary
#2F4EB2 #B2522F #8FB22F
monochromatic
#152451 #223982 #2F4EB2 #4E6DD0 #7E95DD
Accessibility & contrast
On white
7.36
#2F4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F4EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EB2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EB2 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4eb2; /* rgb */ color: rgb(47, 78, 178); /* oklch */ color: oklch(46.1% 0.163 266.8);
Tailwind
colors: {
custom: {
50: '#7a7fca',
500: '#2f4eb2',
950: '#000000',
},
}SCSS
$custom: #2f4eb2; $custom-light: #7a7fca; $custom-dark: #000000;
JSON
{
"hex": "#2f4eb2",
"rgb": {
"r": 47,
"g": 78,
"b": 178
},
"hsl": {
"h": 225.802,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.46143,
"c": 0.16322,
"h": 266.8
},
"luminance": 0.09267
}Semantic roles & 50–950 ramp
primary
#2F4EB2
secondary
#C6B377
accent
#BD46E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82