#2F4CBA#2F4CBA
#2F4CBA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.177 H 267.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CBA |
|---|---|
| RGB | rgb(47, 76, 186) |
| HSL | hsl(227, 60%, 46%) |
| HSV | hsv(227, 75%, 73%) |
| CMYK | cmyk(74.7%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.59, 28.39, -61.10) |
| CIE-LCH | lch(36.59, 67.37, 294.92°) |
| OKLab | oklab(46.41% -0.0074 -0.1764) |
| OKLCH | oklch(46.41% 0.177 267.6) |
| XYZ | xyz(12.6166, 9.3170, 47.5783) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.11
Blue (survey)
#0343DF
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 6.03
Sapphire (survey)
#2138AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CBA #BA9D2F
analogous
#2F91BA #2F4CBA #572FBA
triadic
#2F4CBA #BA2F4C #4CBA2F
tetradic
#2F4CBA #BA2F91 #BA9D2F #2FBA57
square
#2F4CBA #BA2F91 #BA9D2F #2FBA57
split-complementary
#2F4CBA #BA572F #91BA2F
monochromatic
#162458 #233889 #2F4CBA #536ED3 #8497E0
Accessibility & contrast
On white
7.33
#2F4CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2F4CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CBA
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CBA | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4cba; /* rgb */ color: rgb(47, 76, 186); /* oklch */ color: oklch(46.4% 0.177 267.6);
Tailwind
colors: {
custom: {
50: '#7c7dd0',
500: '#2f4cba',
950: '#000000',
},
}SCSS
$custom: #2f4cba; $custom-light: #7c7dd0; $custom-dark: #000000;
JSON
{
"hex": "#2f4cba",
"rgb": {
"r": 47,
"g": 76,
"b": 186
},
"hsl": {
"h": 227.482,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.46411,
"c": 0.17655,
"h": 267.6
},
"luminance": 0.09318
}Semantic roles & 50–950 ramp
primary
#2F4CBA
secondary
#C9B97C
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82