#2C45BF#2C45BF
#2C45BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.192 H 268.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C45BF |
|---|---|
| RGB | rgb(44, 69, 191) |
| HSL | hsl(230, 63%, 46%) |
| HSV | hsv(230, 77%, 75%) |
| CMYK | cmyk(77%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(35.11, 34.44, -66.46) |
| CIE-LCH | lch(35.11, 74.85, 297.39°) |
| OKLab | oklab(45.41% -0.0056 -0.1922) |
| OKLCH | oklch(45.41% 0.192 268.3) |
| XYZ | xyz(12.5675, 8.5519, 50.2684) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.35
Blue (survey)
#0343DF
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 4.82
Cobalt
#0047AB
ΔE00 4.92
Sapphire
#0F52BA
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C45BF #BFA62C
analogous
#2C8EBF #2C45BF #5C2CBF
triadic
#2C45BF #BF2C45 #45BF2C
tetradic
#2C45BF #BF2C8E #BFA62C #2CBF5C
square
#2C45BF #BF2C8E #BFA62C #2CBF5C
split-complementary
#2C45BF #BF5C2C #8EBF2C
monochromatic
#15215C #21338D #2C45BF #5168D7 #8393E2
Accessibility & contrast
On white
7.75
#2C45BF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2C45BF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C45BF
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C45BF | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c45bf; /* rgb */ color: rgb(44, 69, 191); /* oklch */ color: oklch(45.4% 0.192 268.3);
Tailwind
colors: {
custom: {
50: '#7c78d3',
500: '#2c45bf',
950: '#000000',
},
}SCSS
$custom: #2c45bf; $custom-light: #7c78d3; $custom-dark: #000000;
JSON
{
"hex": "#2c45bf",
"rgb": {
"r": 44,
"g": 69,
"b": 191
},
"hsl": {
"h": 229.796,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.45406,
"c": 0.19233,
"h": 268.3
},
"luminance": 0.08553
}Semantic roles & 50–950 ramp
primary
#2C45BF
secondary
#CCBE7B
accent
#CA42E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83