#2F4FBB#2F4FBB
#2F4FBB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.174 H 266.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FBB |
|---|---|
| RGB | rgb(47, 79, 187) |
| HSL | hsl(226, 60%, 46%) |
| HSV | hsv(226, 75%, 73%) |
| CMYK | cmyk(74.9%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(37.45, 26.80, -60.28) |
| CIE-LCH | lch(37.45, 65.97, 293.97°) |
| OKLab | oklab(47.08% -0.0095 -0.1739) |
| OKLCH | oklch(47.08% 0.174 266.9) |
| XYZ | xyz(12.9348, 9.7827, 48.2106) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Cobalt
#0047AB
ΔE00 4.33
Blue Blue
#2242C7
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 5.61
Warm Blue
#4B57DB
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FBB #BB9B2F
analogous
#2F95BB #2F4FBB #552FBB
triadic
#2F4FBB #BB2F4F #4FBB2F
tetradic
#2F4FBB #BB2F95 #BB9B2F #2FBB55
square
#2F4FBB #BB2F95 #BB9B2F #2FBB55
split-complementary
#2F4FBB #BB552F #95BB2F
monochromatic
#162659 #233A8A #2F4FBB #5371D4 #8499E0
Accessibility & contrast
On white
7.10
#2F4FBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2F4FBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FBB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FBB | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f4fbb; /* rgb */ color: rgb(47, 79, 187); /* oklch */ color: oklch(47.1% 0.174 266.9);
Tailwind
colors: {
custom: {
50: '#7c7fd0',
500: '#2f4fbb',
950: '#000000',
},
}SCSS
$custom: #2f4fbb; $custom-light: #7c7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2f4fbb",
"rgb": {
"r": 47,
"g": 79,
"b": 187
},
"hsl": {
"h": 226.286,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.4708,
"c": 0.17421,
"h": 266.9
},
"luminance": 0.09784
}Semantic roles & 50–950 ramp
primary
#2F4FBB
secondary
#C9B87C
accent
#BF45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82