#2B54B8#2B54B8
#2B54B8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.165 H 264.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54B8 |
|---|---|
| RGB | rgb(43, 84, 184) |
| HSL | hsl(223, 62%, 45%) |
| HSV | hsv(223, 77%, 72%) |
| CMYK | cmyk(76.6%, 54.3%, 0%, 27.8%) |
| CIE-LAB | lab(38.40, 21.91, -56.99) |
| CIE-LCH | lch(38.40, 61.05, 291.03°) |
| OKLab | oklab(47.68% -0.0166 -0.1642) |
| OKLCH | oklch(47.68% 0.165 264.2) |
| XYZ | xyz(12.8152, 10.3135, 46.6534) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.78
Cobalt
#0047AB
ΔE00 4.66
Denim
#1560BD
ΔE00 5.18
Denim Blue
#3B5B92
ΔE00 5.49
Dusk Blue
#26538D
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54B8 #B88F2B
analogous
#2B9BB8 #2B54B8 #482BB8
triadic
#2B54B8 #B82B54 #54B82B
tetradic
#2B54B8 #B82B9B #B88F2B #2BB848
square
#2B54B8 #B82B9B #B88F2B #2BB848
split-complementary
#2B54B8 #B8482B #9BB82B
monochromatic
#142755 #1F3D86 #2B54B8 #4B73D5 #7D9AE1
Accessibility & contrast
On white
6.86
#2B54B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2B54B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B54B8
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54B8 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b54b8; /* rgb */ color: rgb(43, 84, 184); /* oklch */ color: oklch(47.7% 0.165 264.2);
Tailwind
colors: {
custom: {
50: '#7983ce',
500: '#2b54b8',
950: '#000000',
},
}SCSS
$custom: #2b54b8; $custom-light: #7983ce; $custom-dark: #000000;
JSON
{
"hex": "#2b54b8",
"rgb": {
"r": 43,
"g": 84,
"b": 184
},
"hsl": {
"h": 222.553,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.47678,
"c": 0.16509,
"h": 264.2
},
"luminance": 0.10315
}Semantic roles & 50–950 ramp
primary
#2B54B8
secondary
#C9B176
accent
#B643E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82