#2741A2#2741A2
#2741A2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.160 H 267.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2741A2 |
|---|---|
| RGB | rgb(39, 65, 162) |
| HSL | hsl(227, 61%, 39%) |
| HSV | hsv(227, 76%, 64%) |
| CMYK | cmyk(75.9%, 59.9%, 0%, 36.5%) |
| CIE-LAB | lab(31.39, 25.68, -55.30) |
| CIE-LCH | lch(31.39, 60.97, 294.91°) |
| OKLab | oklab(41.83% -0.0072 -0.1597) |
| OKLCH | oklch(41.83% 0.16 267.4) |
| XYZ | xyz(9.2463, 6.8196, 35.0044) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Cobalt
#0047AB
ΔE00 3.54
Cobalt (survey)
#1E488F
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 5.06
Blueberry
#464196
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2741A2 #A28827
analogous
#277FA2 #2741A2 #4B27A2
triadic
#2741A2 #A22741 #41A227
tetradic
#2741A2 #A2277F #A28827 #27A24B
square
#2741A2 #A2277F #A28827 #27A24B
split-complementary
#2741A2 #A24B27 #7FA227
monochromatic
#0F193F #1B2D71 #2741A2 #3757CF #6981DB
Accessibility & contrast
On white
8.88
#2741A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2741A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2741A2
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2741A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2741A2 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2741a2; /* rgb */ color: rgb(39, 65, 162); /* oklch */ color: oklch(41.8% 0.160 267.4);
Tailwind
colors: {
custom: {
50: '#7475be',
500: '#2741a2',
950: '#000000',
},
}SCSS
$custom: #2741a2; $custom-light: #7475be; $custom-dark: #000000;
JSON
{
"hex": "#2741a2",
"rgb": {
"r": 39,
"g": 65,
"b": 162
},
"hsl": {
"h": 227.317,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.41829,
"c": 0.15983,
"h": 267.4
},
"luminance": 0.06821
}Semantic roles & 50–950 ramp
primary
#2741A2
secondary
#C1AD64
accent
#C243E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81