#2C4BAC#2C4BAC
#2C4BAC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.160 H 266.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BAC |
|---|---|
| RGB | rgb(44, 75, 172) |
| HSL | hsl(225, 59%, 42%) |
| HSV | hsv(225, 74%, 67%) |
| CMYK | cmyk(74.4%, 56.4%, 0%, 32.5%) |
| CIE-LAB | lab(35.09, 23.42, -55.26) |
| CIE-LCH | lch(35.09, 60.02, 292.97°) |
| OKLab | oklab(44.91% -0.0098 -0.1593) |
| OKLCH | oklch(44.91% 0.16 266.5) |
| XYZ | xyz(10.9986, 8.5450, 40.0914) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.75
Sapphire
#0F52BA
ΔE00 3.67
Cobalt (survey)
#1E488F
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BAC #AC8D2C
analogous
#2C8BAC #2C4BAC #4D2CAC
triadic
#2C4BAC #AC2C4B #4BAC2C
tetradic
#2C4BAC #AC2C8B #AC8D2C #2CAC4D
square
#2C4BAC #AC2C8B #AC8D2C #2CAC4D
split-complementary
#2C4BAC #AC4D2C #8BAC2C
monochromatic
#13204B #20367B #2C4BAC #4667D0 #768FDC
Accessibility & contrast
On white
7.75
#2C4BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2C4BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BAC
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BAC | 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)
#0059AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4bac; /* rgb */ color: rgb(44, 75, 172); /* oklch */ color: oklch(44.9% 0.160 266.5);
Tailwind
colors: {
custom: {
50: '#777cc5',
500: '#2c4bac',
950: '#000000',
},
}SCSS
$custom: #2c4bac; $custom-light: #777cc5; $custom-dark: #000000;
JSON
{
"hex": "#2c4bac",
"rgb": {
"r": 44,
"g": 75,
"b": 172
},
"hsl": {
"h": 225.469,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.44911,
"c": 0.1596,
"h": 266.5
},
"luminance": 0.08546
}Semantic roles & 50–950 ramp
primary
#2C4BAC
secondary
#C4B070
accent
#BC45E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82