#2741A1#2741A1
#2741A1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.158 H 267.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2741A1 |
|---|---|
| RGB | rgb(39, 65, 161) |
| HSL | hsl(227, 61%, 39%) |
| HSV | hsv(227, 76%, 63%) |
| CMYK | cmyk(75.8%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(31.31, 25.30, -54.83) |
| CIE-LCH | lch(31.31, 60.38, 294.77°) |
| OKLab | oklab(41.74% -0.0072 -0.1583) |
| OKLCH | oklch(41.74% 0.158 267.4) |
| XYZ | xyz(9.1578, 6.7841, 34.5381) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Cobalt
#0047AB
ΔE00 3.55
Cobalt (survey)
#1E488F
ΔE00 4.78
Blueberry
#464196
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.21
Darkish Blue
#014182
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2741A1 #A18727
analogous
#277EA1 #2741A1 #4A27A1
triadic
#2741A1 #A12741 #41A127
tetradic
#2741A1 #A1277E #A18727 #27A14A
square
#2741A1 #A1277E #A18727 #27A14A
split-complementary
#2741A1 #A14A27 #7EA127
monochromatic
#0F193E #1B2D70 #2741A1 #3757CE #6880DA
Accessibility & contrast
On white
8.91
#2741A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2741A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2741A1
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2741A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2741A1 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2741a1; /* rgb */ color: rgb(39, 65, 161); /* oklch */ color: oklch(41.7% 0.158 267.4);
Tailwind
colors: {
custom: {
50: '#7475be',
500: '#2741a1',
950: '#000000',
},
}SCSS
$custom: #2741a1; $custom-light: #7475be; $custom-dark: #000000;
JSON
{
"hex": "#2741a1",
"rgb": {
"r": 39,
"g": 65,
"b": 161
},
"hsl": {
"h": 227.213,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.41742,
"c": 0.15845,
"h": 267.4
},
"luminance": 0.06785
}Semantic roles & 50–950 ramp
primary
#2741A1
secondary
#C0AD63
accent
#C244E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81