#2F4FBE#2F4FBE
#2F4FBE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.178 H 267.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FBE |
|---|---|
| RGB | rgb(47, 79, 190) |
| HSL | hsl(227, 60%, 46%) |
| HSV | hsv(227, 75%, 75%) |
| CMYK | cmyk(75.3%, 58.4%, 0%, 25.5%) |
| CIE-LAB | lab(37.69, 27.92, -61.66) |
| CIE-LCH | lch(37.69, 67.68, 294.36°) |
| OKLab | oklab(47.33% -0.0094 -0.178) |
| OKLCH | oklch(47.33% 0.178 267) |
| XYZ | xyz(13.2593, 9.9126, 49.9197) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.61
Blue (survey)
#0343DF
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FBE #BE9E2F
analogous
#2F97BE #2F4FBE #562FBE
triadic
#2F4FBE #BE2F4F #4FBE2F
tetradic
#2F4FBE #BE2F97 #BE9E2F #2FBE56
square
#2F4FBE #BE2F97 #BE9E2F #2FBE56
split-complementary
#2F4FBE #BE562F #97BE2F
monochromatic
#17265C #233B8D #2F4FBE #5572D5 #869BE1
Accessibility & contrast
On white
7.04
#2F4FBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2F4FBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FBE
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FBE | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f4fbe; /* rgb */ color: rgb(47, 79, 190); /* oklch */ color: oklch(47.3% 0.178 267.0);
Tailwind
colors: {
custom: {
50: '#7c7fd2',
500: '#2f4fbe',
950: '#000000',
},
}SCSS
$custom: #2f4fbe; $custom-light: #7c7fd2; $custom-dark: #000000;
JSON
{
"hex": "#2f4fbe",
"rgb": {
"r": 47,
"g": 79,
"b": 190
},
"hsl": {
"h": 226.573,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.47329,
"c": 0.17824,
"h": 267
},
"luminance": 0.09914
}Semantic roles & 50–950 ramp
primary
#2F4FBE
secondary
#CBBA7E
accent
#C044E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83