#274AB1#274AB1
#274AB1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.169 H 265.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #274AB1 |
|---|---|
| RGB | rgb(39, 74, 177) |
| HSL | hsl(225, 64%, 42%) |
| HSV | hsv(225, 78%, 69%) |
| CMYK | cmyk(78%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.01, 25.41, -58.38) |
| CIE-LCH | lch(35.01, 63.67, 293.52°) |
| OKLab | oklab(44.91% -0.013 -0.1686) |
| OKLCH | oklch(44.91% 0.169 265.6) |
| XYZ | xyz(11.2185, 8.5019, 42.6362) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.58
Sapphire
#0F52BA
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 4.13
Cobalt (survey)
#1E488F
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.58
Blue (survey)
#0343DF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274AB1 #B18E27
analogous
#278FB1 #274AB1 #4927B1
triadic
#274AB1 #B1274A #4AB127
tetradic
#274AB1 #B1278F #B18E27 #27B149
square
#274AB1 #B1278F #B18E27 #27B149
split-complementary
#274AB1 #B14927 #8FB127
monochromatic
#11204D #1C357F #274AB1 #4066D5 #728EE0
Accessibility & contrast
On white
7.78
#274AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#274AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274AB1
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274AB1 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #274ab1; /* rgb */ color: rgb(39, 74, 177); /* oklch */ color: oklch(44.9% 0.169 265.6);
Tailwind
colors: {
custom: {
50: '#777cc9',
500: '#274ab1',
950: '#000000',
},
}SCSS
$custom: #274ab1; $custom-light: #777cc9; $custom-dark: #000000;
JSON
{
"hex": "#274ab1",
"rgb": {
"r": 39,
"g": 74,
"b": 177
},
"hsl": {
"h": 224.783,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.44911,
"c": 0.16907,
"h": 265.6
},
"luminance": 0.08503
}Semantic roles & 50–950 ramp
primary
#274AB1
secondary
#C7B06D
accent
#BD41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82