#2F4BBB#2F4BBB
#2F4BBB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.179 H 267.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BBB |
|---|---|
| RGB | rgb(47, 75, 187) |
| HSL | hsl(228, 60%, 46%) |
| HSV | hsv(228, 75%, 73%) |
| CMYK | cmyk(74.9%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(36.41, 29.41, -61.98) |
| CIE-LCH | lch(36.41, 68.60, 295.39°) |
| OKLab | oklab(46.3% -0.0067 -0.179) |
| OKLCH | oklch(46.3% 0.179 267.9) |
| XYZ | xyz(12.6549, 9.2230, 48.1173) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.14
Sapphire
#0F52BA
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.22
Blue (survey)
#0343DF
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BBB #BB9F2F
analogous
#2F91BB #2F4BBB #592FBB
triadic
#2F4BBB #BB2F4B #4BBB2F
tetradic
#2F4BBB #BB2F91 #BB9F2F #2FBB59
square
#2F4BBB #BB2F91 #BB9F2F #2FBB59
split-complementary
#2F4BBB #BB592F #91BB2F
monochromatic
#162459 #23378A #2F4BBB #536DD4 #8497E0
Accessibility & contrast
On white
7.38
#2F4BBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2F4BBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BBB
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BBB | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4bbb; /* rgb */ color: rgb(47, 75, 187); /* oklch */ color: oklch(46.3% 0.179 267.9);
Tailwind
colors: {
custom: {
50: '#7c7dd0',
500: '#2f4bbb',
950: '#000000',
},
}SCSS
$custom: #2f4bbb; $custom-light: #7c7dd0; $custom-dark: #000000;
JSON
{
"hex": "#2f4bbb",
"rgb": {
"r": 47,
"g": 75,
"b": 187
},
"hsl": {
"h": 228,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.46303,
"c": 0.17911,
"h": 267.9
},
"luminance": 0.09224
}Semantic roles & 50–950 ramp
primary
#2F4BBB
secondary
#C9BA7C
accent
#C345E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82