#2F4ABC#2F4ABC
#2F4ABC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.182 H 268.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4ABC |
|---|---|
| RGB | rgb(47, 74, 188) |
| HSL | hsl(229, 60%, 46%) |
| HSV | hsv(229, 75%, 74%) |
| CMYK | cmyk(75%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(36.24, 30.43, -62.85) |
| CIE-LCH | lch(36.24, 69.83, 295.83°) |
| OKLab | oklab(46.2% -0.006 -0.1815) |
| OKLCH | oklch(46.2% 0.182 268.1) |
| XYZ | xyz(12.6950, 9.1314, 48.6607) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.79
Cobalt
#0047AB
ΔE00 4.36
Sapphire
#0F52BA
ΔE00 4.40
Blue (survey)
#0343DF
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4ABC #BCA12F
analogous
#2F90BC #2F4ABC #5B2FBC
triadic
#2F4ABC #BC2F4A #4ABC2F
tetradic
#2F4ABC #BC2F90 #BCA12F #2FBC5B
square
#2F4ABC #BC2F90 #BCA12F #2FBC5B
split-complementary
#2F4ABC #BC5B2F #90BC2F
monochromatic
#17235A #23378B #2F4ABC #546DD4 #8596E0
Accessibility & contrast
On white
7.43
#2F4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2F4ABC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4ABC
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4ABC | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4abc; /* rgb */ color: rgb(47, 74, 188); /* oklch */ color: oklch(46.2% 0.182 268.1);
Tailwind
colors: {
custom: {
50: '#7c7cd1',
500: '#2f4abc',
950: '#000000',
},
}SCSS
$custom: #2f4abc; $custom-light: #7c7cd1; $custom-dark: #000000;
JSON
{
"hex": "#2f4abc",
"rgb": {
"r": 47,
"g": 74,
"b": 188
},
"hsl": {
"h": 228.511,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.46199,
"c": 0.18165,
"h": 268.1
},
"luminance": 0.09133
}Semantic roles & 50–950 ramp
primary
#2F4ABC
secondary
#CABB7D
accent
#C545E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83