#2B4082#2B4082
#2B4082 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.114 H 267.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4082 |
|---|---|
| RGB | rgb(43, 64, 130) |
| HSL | hsl(226, 50%, 34%) |
| HSV | hsv(226, 67%, 51%) |
| CMYK | cmyk(66.9%, 50.8%, 0%, 49%) |
| CIE-LAB | lab(28.88, 14.70, -39.75) |
| CIE-LCH | lch(28.88, 42.38, 290.30°) |
| OKLab | oklab(39.22% -0.0047 -0.1139) |
| OKLCH | oklch(39.22% 0.114 267.6) |
| XYZ | xyz(6.8575, 5.7915, 21.8712) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Darkish Blue
#014182
ΔE00 4.67
Twilight Blue
#0A437A
ΔE00 5.41
Blueberry
#464196
ΔE00 6.03
Marine Blue
#01386A
ΔE00 6.11
Cobalt
#0047AB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4082 #826D2B
analogous
#2B6C82 #2B4082 #422B82
triadic
#2B4082 #822B40 #40822B
tetradic
#2B4082 #822B6C #826D2B #2B8242
square
#2B4082 #822B6C #826D2B #2B8242
split-complementary
#2B4082 #82422B #6C822B
monochromatic
#0D1326 #1C2954 #2B4082 #3A57B0 #5E78CA
Accessibility & contrast
On white
9.73
#2B4082 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2B4082 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4082
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4082 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4082 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#074081
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b4082; /* rgb */ color: rgb(43, 64, 130); /* oklch */ color: oklch(39.2% 0.114 267.6);
Tailwind
colors: {
custom: {
50: '#6e74a7',
500: '#2b4082',
950: '#000000',
},
}SCSS
$custom: #2b4082; $custom-light: #6e74a7; $custom-dark: #000000;
JSON
{
"hex": "#2b4082",
"rgb": {
"r": 43,
"g": 64,
"b": 130
},
"hsl": {
"h": 225.517,
"s": 50.289,
"l": 33.922
},
"oklch": {
"l": 0.39222,
"c": 0.11397,
"h": 267.6
},
"luminance": 0.05792
}Semantic roles & 50–950 ramp
primary
#2B4082
secondary
#B09B59
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F