#2C4BB9#2C4BB9
#2C4BB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.177 H 267.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BB9 |
|---|---|
| RGB | rgb(44, 75, 185) |
| HSL | hsl(227, 62%, 45%) |
| HSV | hsv(227, 76%, 73%) |
| CMYK | cmyk(76.2%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(36.12, 28.32, -61.28) |
| CIE-LCH | lch(36.12, 67.51, 294.81°) |
| OKLab | oklab(46% -0.0093 -0.177) |
| OKLCH | oklch(46% 0.177 267) |
| XYZ | xyz(12.3087, 9.0690, 46.9913) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.75
Cobalt
#0047AB
ΔE00 3.75
Blue (survey)
#0343DF
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BB9 #B99A2C
analogous
#2C91B9 #2C4BB9 #542CB9
triadic
#2C4BB9 #B92C4B #4BB92C
tetradic
#2C4BB9 #B92C91 #B99A2C #2CB954
square
#2C4BB9 #B92C91 #B99A2C #2CB954
split-complementary
#2C4BB9 #B9542C #91B92C
monochromatic
#142356 #203788 #2C4BB9 #4D6BD5 #7F94E1
Accessibility & contrast
On white
7.46
#2C4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2C4BB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BB9
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BB9 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4bb9; /* rgb */ color: rgb(44, 75, 185); /* oklch */ color: oklch(46.0% 0.177 267.0);
Tailwind
colors: {
custom: {
50: '#7a7ccf',
500: '#2c4bb9',
950: '#000000',
},
}SCSS
$custom: #2c4bb9; $custom-light: #7a7ccf; $custom-dark: #000000;
JSON
{
"hex": "#2c4bb9",
"rgb": {
"r": 44,
"g": 75,
"b": 185
},
"hsl": {
"h": 226.809,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.45998,
"c": 0.17726,
"h": 267
},
"luminance": 0.0907
}Semantic roles & 50–950 ramp
primary
#2C4BB9
secondary
#C9B778
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82