#2B428C#2B428C
#2B428C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.126 H 267.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B428C |
|---|---|
| RGB | rgb(43, 66, 140) |
| HSL | hsl(226, 53%, 36%) |
| HSV | hsv(226, 69%, 55%) |
| CMYK | cmyk(69.3%, 52.9%, 0%, 45.1%) |
| CIE-LAB | lab(30.16, 17.15, -43.88) |
| CIE-LCH | lch(30.16, 47.11, 291.35°) |
| OKLab | oklab(40.42% -0.0055 -0.126) |
| OKLCH | oklch(40.42% 0.126 267.5) |
| XYZ | xyz(7.6765, 6.3027, 25.6179) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.32
Darkish Blue
#014182
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.05
Blueberry
#464196
ΔE00 5.41
Twilight Blue
#0A437A
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B428C #8C752B
analogous
#2B728C #2B428C #442B8C
triadic
#2B428C #8C2B42 #428C2B
tetradic
#2B428C #8C2B72 #8C752B #2B8C44
square
#2B428C #8C2B72 #8C752B #2B8C44
split-complementary
#2B428C #8C442B #728C2B
monochromatic
#0E162E #1D2C5D #2B428C #3958BB #627CCF
Accessibility & contrast
On white
9.29
#2B428C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2B428C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B428C
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B428C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B428C | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b428c; /* rgb */ color: rgb(43, 66, 140); /* oklch */ color: oklch(40.4% 0.126 267.5);
Tailwind
colors: {
custom: {
50: '#7076ae',
500: '#2b428c',
950: '#000000',
},
}SCSS
$custom: #2b428c; $custom-light: #7076ae; $custom-dark: #000000;
JSON
{
"hex": "#2b428c",
"rgb": {
"r": 43,
"g": 66,
"b": 140
},
"hsl": {
"h": 225.773,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.40422,
"c": 0.1261,
"h": 267.5
},
"luminance": 0.06303
}Semantic roles & 50–950 ramp
primary
#2B428C
secondary
#B5A05E
accent
#BA4BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F