#2F4BBC#2F4BBC
#2F4BBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.180 H 267.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BBC |
|---|---|
| RGB | rgb(47, 75, 188) |
| HSL | hsl(228, 60%, 46%) |
| HSV | hsv(228, 75%, 74%) |
| CMYK | cmyk(75%, 60.1%, 0%, 26.3%) |
| CIE-LAB | lab(36.49, 29.78, -62.43) |
| CIE-LCH | lch(36.49, 69.17, 295.50°) |
| OKLab | oklab(46.39% -0.0067 -0.1803) |
| OKLCH | oklch(46.39% 0.18 267.9) |
| XYZ | xyz(12.7623, 9.2659, 48.6831) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.07
Sapphire
#0F52BA
ΔE00 4.13
Cobalt
#0047AB
ΔE00 4.32
Blue (survey)
#0343DF
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BBC #BCA02F
analogous
#2F91BC #2F4BBC #592FBC
triadic
#2F4BBC #BC2F4B #4BBC2F
tetradic
#2F4BBC #BC2F91 #BCA02F #2FBC59
square
#2F4BBC #BC2F91 #BCA02F #2FBC59
split-complementary
#2F4BBC #BC592F #91BC2F
monochromatic
#17245A #23378B #2F4BBC #546DD4 #8597E0
Accessibility & contrast
On white
7.36
#2F4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F4BBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BBC
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BBC | 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)
#005DC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4bbc; /* rgb */ color: rgb(47, 75, 188); /* oklch */ color: oklch(46.4% 0.180 267.9);
Tailwind
colors: {
custom: {
50: '#7c7dd1',
500: '#2f4bbc',
950: '#000000',
},
}SCSS
$custom: #2f4bbc; $custom-light: #7c7dd1; $custom-dark: #000000;
JSON
{
"hex": "#2f4bbc",
"rgb": {
"r": 47,
"g": 75,
"b": 188
},
"hsl": {
"h": 228.085,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.46389,
"c": 0.18043,
"h": 267.9
},
"luminance": 0.09267
}Semantic roles & 50–950 ramp
primary
#2F4BBC
secondary
#CABB7D
accent
#C445E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83