#2F4ABF#2F4ABF
#2F4ABF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.186 H 268.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4ABF |
|---|---|
| RGB | rgb(47, 74, 191) |
| HSL | hsl(229, 61%, 47%) |
| HSV | hsv(229, 75%, 75%) |
| CMYK | cmyk(75.4%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(36.48, 31.53, -64.20) |
| CIE-LCH | lch(36.48, 71.53, 296.16°) |
| OKLab | oklab(46.46% -0.006 -0.1855) |
| OKLCH | oklch(46.46% 0.186 268.1) |
| XYZ | xyz(13.0218, 9.2621, 50.3816) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.59
Blue (survey)
#0343DF
ΔE00 4.28
Sapphire
#0F52BA
ΔE00 4.55
Cobalt
#0047AB
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4ABF #BFA42F
analogous
#2F92BF #2F4ABF #5C2FBF
triadic
#2F4ABF #BF2F4A #4ABF2F
tetradic
#2F4ABF #BF2F92 #BFA42F #2FBF5C
square
#2F4ABF #BF2F92 #BFA42F #2FBF5C
split-complementary
#2F4ABF #BF5C2F #92BF2F
monochromatic
#17245D #23378E #2F4ABF #566ED5 #8798E1
Accessibility & contrast
On white
7.36
#2F4ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F4ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4ABF
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4ABF | 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)
#005DC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4abf; /* rgb */ color: rgb(47, 74, 191); /* oklch */ color: oklch(46.5% 0.186 268.1);
Tailwind
colors: {
custom: {
50: '#7d7cd3',
500: '#2f4abf',
950: '#000000',
},
}SCSS
$custom: #2f4abf; $custom-light: #7d7cd3; $custom-dark: #000000;
JSON
{
"hex": "#2f4abf",
"rgb": {
"r": 47,
"g": 74,
"b": 191
},
"hsl": {
"h": 228.75,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.4646,
"c": 0.18562,
"h": 268.1
},
"luminance": 0.09263
}Semantic roles & 50–950 ramp
primary
#2F4ABF
secondary
#CBBD7F
accent
#C644E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83