#2C45BE#2C45BE
#2C45BE is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.191 H 268.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45BE |
|---|---|
| RGB | rgb(44, 69, 190) |
| HSL | hsl(230, 62%, 46%) |
| HSV | hsv(230, 77%, 75%) |
| CMYK | cmyk(76.8%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(35.02, 34.07, -66.02) |
| CIE-LCH | lch(35.02, 74.29, 297.30°) |
| OKLab | oklab(45.32% -0.0055 -0.1909) |
| OKLCH | oklch(45.32% 0.191 268.3) |
| XYZ | xyz(12.4579, 8.5080, 49.6909) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.44
Blue (survey)
#0343DF
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 4.83
Sapphire
#0F52BA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45BE #BEA52C
analogous
#2C8EBE #2C45BE #5C2CBE
triadic
#2C45BE #BE2C45 #45BE2C
tetradic
#2C45BE #BE2C8E #BEA52C #2CBE5C
square
#2C45BE #BE2C8E #BEA52C #2CBE5C
split-complementary
#2C45BE #BE5C2C #8EBE2C
monochromatic
#15215B #20338C #2C45BE #5168D7 #8293E2
Accessibility & contrast
On white
7.77
#2C45BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2C45BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45BE
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45BE | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c45be; /* rgb */ color: rgb(44, 69, 190); /* oklch */ color: oklch(45.3% 0.191 268.3);
Tailwind
colors: {
custom: {
50: '#7c78d3',
500: '#2c45be',
950: '#000000',
},
}SCSS
$custom: #2c45be; $custom-light: #7c78d3; $custom-dark: #000000;
JSON
{
"hex": "#2c45be",
"rgb": {
"r": 44,
"g": 69,
"b": 190
},
"hsl": {
"h": 229.726,
"s": 62.393,
"l": 45.882
},
"oklch": {
"l": 0.45315,
"c": 0.19103,
"h": 268.3
},
"luminance": 0.08509
}Semantic roles & 50–950 ramp
primary
#2C45BE
secondary
#CBBD7B
accent
#CA42E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83