#2B4CC2#2B4CC2
#2B4CC2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.188 H 266.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CC2 |
|---|---|
| RGB | rgb(43, 76, 194) |
| HSL | hsl(227, 64%, 46%) |
| HSV | hsv(227, 78%, 76%) |
| CMYK | cmyk(77.8%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(37.07, 30.93, -65.01) |
| CIE-LCH | lch(37.07, 71.99, 295.44°) |
| OKLab | oklab(46.93% -0.0107 -0.1879) |
| OKLCH | oklch(46.93% 0.188 266.7) |
| XYZ | xyz(13.3149, 9.5760, 52.1751) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.91
Blue (survey)
#0343DF
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.65
Warm Blue
#4B57DB
ΔE00 5.97
Ocean Blue
#4F42B5
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CC2 #C2A12B
analogous
#2B98C2 #2B4CC2 #552BC2
triadic
#2B4CC2 #C22B4C #4CC22B
tetradic
#2B4CC2 #C22B98 #C2A12B #2BC255
square
#2B4CC2 #C22B98 #C2A12B #2BC255
split-complementary
#2B4CC2 #C2552B #98C22B
monochromatic
#15255E #203890 #2B4CC2 #526FD9 #8499E4
Accessibility & contrast
On white
7.20
#2B4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2B4CC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CC2
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CC2 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4cc2; /* rgb */ color: rgb(43, 76, 194); /* oklch */ color: oklch(46.9% 0.188 266.7);
Tailwind
colors: {
custom: {
50: '#7c7dd5',
500: '#2b4cc2',
950: '#000000',
},
}SCSS
$custom: #2b4cc2; $custom-light: #7c7dd5; $custom-dark: #000000;
JSON
{
"hex": "#2b4cc2",
"rgb": {
"r": 43,
"g": 76,
"b": 194
},
"hsl": {
"h": 226.887,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.46926,
"c": 0.18823,
"h": 266.7
},
"luminance": 0.09578
}Semantic roles & 50–950 ramp
primary
#2B4CC2
secondary
#CDBB7C
accent
#C341E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83