#274AB4#274AB4
#274AB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 265.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #274AB4 |
|---|---|
| RGB | rgb(39, 74, 180) |
| HSL | hsl(225, 64%, 43%) |
| HSV | hsv(225, 78%, 71%) |
| CMYK | cmyk(78.3%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.25, 26.55, -59.76) |
| CIE-LCH | lch(35.25, 65.39, 293.96°) |
| OKLab | oklab(45.17% -0.0129 -0.1726) |
| OKLCH | oklch(45.17% 0.173 265.7) |
| XYZ | xyz(11.5208, 8.6229, 44.2284) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 3.55
Blue Blue
#2242C7
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 5.62
Blue (survey)
#0343DF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274AB4 #B49127
analogous
#2791B4 #274AB4 #4A27B4
triadic
#274AB4 #B4274A #4AB427
tetradic
#274AB4 #B42791 #B49127 #27B44A
square
#274AB4 #B42791 #B49127 #27B44A
split-complementary
#274AB4 #B44A27 #91B427
monochromatic
#11214F #1C3582 #274AB4 #4267D6 #748FE1
Accessibility & contrast
On white
7.71
#274AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#274AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274AB4
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274AB4 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #274ab4; /* rgb */ color: rgb(39, 74, 180); /* oklch */ color: oklch(45.2% 0.173 265.7);
Tailwind
colors: {
custom: {
50: '#787ccb',
500: '#274ab4',
950: '#000000',
},
}SCSS
$custom: #274ab4; $custom-light: #787ccb; $custom-dark: #000000;
JSON
{
"hex": "#274ab4",
"rgb": {
"r": 39,
"g": 74,
"b": 180
},
"hsl": {
"h": 225.106,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.45167,
"c": 0.17312,
"h": 265.7
},
"luminance": 0.08624
}Semantic roles & 50–950 ramp
primary
#274AB4
secondary
#C8B26F
accent
#BE40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82