#2741B1#2741B1
#2741B1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.180 H 267.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2741B1 |
|---|---|
| RGB | rgb(39, 65, 177) |
| HSL | hsl(229, 64%, 42%) |
| HSV | hsv(229, 78%, 69%) |
| CMYK | cmyk(78%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(32.67, 31.35, -62.20) |
| CIE-LCH | lch(32.67, 69.65, 296.75°) |
| OKLab | oklab(43.17% -0.0072 -0.1799) |
| OKLCH | oklch(43.17% 0.18 267.7) |
| XYZ | xyz(10.6600, 7.3850, 42.4501) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Blue Blue
#2242C7
ΔE00 2.91
Cobalt
#0047AB
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 5.73
Blueberry
#464196
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2741B1 #B19727
analogous
#2786B1 #2741B1 #5227B1
triadic
#2741B1 #B12741 #41B127
tetradic
#2741B1 #B12786 #B19727 #27B152
square
#2741B1 #B12786 #B19727 #27B152
split-complementary
#2741B1 #B15227 #86B127
monochromatic
#111C4D #1C2F7F #2741B1 #405CD5 #7287E0
Accessibility & contrast
On white
8.48
#2741B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2741B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2741B1
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2741B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2741B1 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2741b1; /* rgb */ color: rgb(39, 65, 177); /* oklch */ color: oklch(43.2% 0.180 267.7);
Tailwind
colors: {
custom: {
50: '#7875c9',
500: '#2741b1',
950: '#000000',
},
}SCSS
$custom: #2741b1; $custom-light: #7875c9; $custom-dark: #000000;
JSON
{
"hex": "#2741b1",
"rgb": {
"r": 39,
"g": 65,
"b": 177
},
"hsl": {
"h": 228.696,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.4317,
"c": 0.18004,
"h": 267.7
},
"luminance": 0.07386
}Semantic roles & 50–950 ramp
primary
#2741B1
secondary
#C7B66D
accent
#C841E7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82