#2A4BC9#2A4BC9
#2A4BC9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.199 H 266.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BC9 |
|---|---|
| RGB | rgb(42, 75, 201) |
| HSL | hsl(228, 65%, 48%) |
| HSV | hsv(228, 79%, 79%) |
| CMYK | cmyk(79.1%, 62.7%, 0%, 21.2%) |
| CIE-LAB | lab(37.37, 34.07, -68.59) |
| CIE-LCH | lch(37.37, 76.59, 296.41°) |
| OKLab | oklab(47.32% -0.011 -0.1985) |
| OKLCH | oklch(47.32% 0.199 266.8) |
| XYZ | xyz(14.0098, 9.7398, 56.3886) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.66
Blue (survey)
#0343DF
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 4.65
Cobalt
#0047AB
ΔE00 5.43
Warm Blue
#4B57DB
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BC9 #C9A82A
analogous
#2A9BC9 #2A4BC9 #582AC9
triadic
#2A4BC9 #C92A4B #4BC92A
tetradic
#2A4BC9 #C92A9B #C9A82A #2AC958
square
#2A4BC9 #C92A9B #C9A82A #2AC958
split-complementary
#2A4BC9 #C9582A #9BC92A
monochromatic
#152564 #1F3896 #2A4BC9 #5571DB #879BE6
Accessibility & contrast
On white
7.12
#2A4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2A4BC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BC9
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BC9 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4bc9; /* rgb */ color: rgb(42, 75, 201); /* oklch */ color: oklch(47.3% 0.199 266.8);
Tailwind
colors: {
custom: {
50: '#7e7dda',
500: '#2a4bc9',
950: '#000000',
},
}SCSS
$custom: #2a4bc9; $custom-light: #7e7dda; $custom-dark: #000000;
JSON
{
"hex": "#2a4bc9",
"rgb": {
"r": 42,
"g": 75,
"b": 201
},
"hsl": {
"h": 227.547,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.47321,
"c": 0.19876,
"h": 266.8
},
"luminance": 0.09741
}Semantic roles & 50–950 ramp
primary
#2A4BC9
secondary
#D0BF7F
accent
#C53FE8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83