#2C4BAF#2C4BAF
#2C4BAF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.164 H 266.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BAF |
|---|---|
| RGB | rgb(44, 75, 175) |
| HSL | hsl(226, 60%, 43%) |
| HSV | hsv(226, 75%, 69%) |
| CMYK | cmyk(74.9%, 57.1%, 0%, 31.4%) |
| CIE-LAB | lab(35.32, 24.56, -56.66) |
| CIE-LCH | lch(35.32, 61.76, 293.43°) |
| OKLab | oklab(45.16% -0.0097 -0.1634) |
| OKLCH | oklch(45.16% 0.164 266.6) |
| XYZ | xyz(11.2899, 8.6615, 41.6260) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.91
Sapphire
#0F52BA
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 5.82
Dusk Blue
#26538D
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BAF #AF902C
analogous
#2C8CAF #2C4BAF #4F2CAF
triadic
#2C4BAF #AF2C4B #4BAF2C
tetradic
#2C4BAF #AF2C8C #AF902C #2CAF4F
square
#2C4BAF #AF2C8C #AF902C #2CAF4F
split-complementary
#2C4BAF #AF4F2C #8CAF2C
monochromatic
#13214D #20367E #2C4BAF #4768D1 #7890DD
Accessibility & contrast
On white
7.68
#2C4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2C4BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BAF
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BAF | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4baf; /* rgb */ color: rgb(44, 75, 175); /* oklch */ color: oklch(45.2% 0.164 266.6);
Tailwind
colors: {
custom: {
50: '#787cc8',
500: '#2c4baf',
950: '#000000',
},
}SCSS
$custom: #2c4baf; $custom-light: #787cc8; $custom-dark: #000000;
JSON
{
"hex": "#2c4baf",
"rgb": {
"r": 44,
"g": 75,
"b": 175
},
"hsl": {
"h": 225.802,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.45157,
"c": 0.16373,
"h": 266.6
},
"luminance": 0.08663
}Semantic roles & 50–950 ramp
primary
#2C4BAF
secondary
#C5B172
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82