#2B5AA8#2B5AA8
#2B5AA8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.136 H 260.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AA8 |
|---|---|
| RGB | rgb(43, 90, 168) |
| HSL | hsl(217, 59%, 41%) |
| HSV | hsv(217, 74%, 66%) |
| CMYK | cmyk(74.4%, 46.4%, 0%, 34.1%) |
| CIE-LAB | lab(38.99, 11.83, -46.59) |
| CIE-LCH | lch(38.99, 48.07, 284.25°) |
| OKLab | oklab(47.78% -0.0236 -0.1336) |
| OKLCH | oklch(47.78% 0.136 260) |
| XYZ | xyz(11.7178, 10.6518, 38.4766) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.16
Denim
#1560BD
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 3.50
Dusk Blue
#26538D
ΔE00 3.98
Light Navy Blue
#2E5A88
ΔE00 4.12
Denim (survey)
#3B638C
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AA8 #A8792B
analogous
#2B99A8 #2B5AA8 #3B2BA8
triadic
#2B5AA8 #A82B5A #5AA82B
tetradic
#2B5AA8 #A82B99 #A8792B #2BA83B
square
#2B5AA8 #A82B99 #A8792B #2BA83B
split-complementary
#2B5AA8 #A83B2B #99A82B
monochromatic
#122647 #1F4077 #2B5AA8 #4277CF #729ADB
Accessibility & contrast
On white
6.71
#2B5AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2B5AA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AA8
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AA8 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1556A6
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5aa8; /* rgb */ color: rgb(43, 90, 168); /* oklch */ color: oklch(47.8% 0.136 260.0);
Tailwind
colors: {
custom: {
50: '#7588c2',
500: '#2b5aa8',
950: '#000000',
},
}SCSS
$custom: #2b5aa8; $custom-light: #7588c2; $custom-dark: #000000;
JSON
{
"hex": "#2b5aa8",
"rgb": {
"r": 43,
"g": 90,
"b": 168
},
"hsl": {
"h": 217.44,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.47775,
"c": 0.13563,
"h": 260
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#2B5AA8
secondary
#C2A26C
accent
#A745E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81