#2A5BB3#2A5BB3
#2A5BB3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.150 H 261.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BB3 |
|---|---|
| RGB | rgb(42, 91, 179) |
| HSL | hsl(219, 62%, 43%) |
| HSV | hsv(219, 77%, 70%) |
| CMYK | cmyk(76.5%, 49.2%, 0%, 29.8%) |
| CIE-LAB | lab(39.96, 15.27, -51.52) |
| CIE-LCH | lch(39.96, 53.74, 286.51°) |
| OKLab | oklab(48.75% -0.0234 -0.1481) |
| OKLCH | oklch(48.75% 0.15 261) |
| XYZ | xyz(12.8297, 11.2276, 44.1301) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.68
Sapphire
#0F52BA
ΔE00 3.11
Denim Blue
#3B5B92
ΔE00 4.25
Light Navy Blue
#2E5A88
ΔE00 5.26
Dusk Blue
#26538D
ΔE00 5.29
Denim (survey)
#3B638C
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BB3 #B3822A
analogous
#2A9FB3 #2A5BB3 #3D2AB3
triadic
#2A5BB3 #B32A5B #5BB32A
tetradic
#2A5BB3 #B32A9F #B3822A #2AB33D
square
#2A5BB3 #B32A9F #B3822A #2AB33D
split-complementary
#2A5BB3 #B33D2A #9FB32A
monochromatic
#132950 #1E4281 #2A5BB3 #4679D4 #789DDF
Accessibility & contrast
On white
6.47
#2A5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2A5BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BB3
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BB3 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5bb3; /* rgb */ color: rgb(42, 91, 179); /* oklch */ color: oklch(48.7% 0.150 261.0);
Tailwind
colors: {
custom: {
50: '#7788ca',
500: '#2a5bb3',
950: '#000000',
},
}SCSS
$custom: #2a5bb3; $custom-light: #7788ca; $custom-dark: #000000;
JSON
{
"hex": "#2a5bb3",
"rgb": {
"r": 42,
"g": 91,
"b": 179
},
"hsl": {
"h": 218.54,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.48745,
"c": 0.14991,
"h": 261
},
"luminance": 0.11229
}Semantic roles & 50–950 ramp
primary
#2A5BB3
secondary
#C7A972
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82