#274AA8#274AA8
#274AA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.157 H 265.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #274AA8 |
|---|---|
| RGB | rgb(39, 74, 168) |
| HSL | hsl(224, 62%, 41%) |
| HSV | hsv(224, 77%, 66%) |
| CMYK | cmyk(76.8%, 56%, 0%, 34.1%) |
| CIE-LAB | lab(34.30, 21.95, -54.16) |
| CIE-LCH | lch(34.30, 58.44, 292.06°) |
| OKLab | oklab(44.16% -0.0135 -0.1562) |
| OKLCH | oklch(44.16% 0.157 265.1) |
| XYZ | xyz(10.3509, 8.1549, 38.0667) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.11
Sapphire
#0F52BA
ΔE00 3.77
Cobalt (survey)
#1E488F
ΔE00 3.95
Blue Blue
#2242C7
ΔE00 5.29
Dusk Blue
#26538D
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274AA8 #A88527
analogous
#278AA8 #274AA8 #4427A8
triadic
#274AA8 #A8274A #4AA827
tetradic
#274AA8 #A8278A #A88527 #27A844
square
#274AA8 #A8278A #A88527 #27A844
split-complementary
#274AA8 #A84427 #8AA827
monochromatic
#101E45 #1B3476 #274AA8 #3B64D1 #6C8BDD
Accessibility & contrast
On white
7.98
#274AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#274AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274AA8
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274AA8 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #274aa8; /* rgb */ color: rgb(39, 74, 168); /* oklch */ color: oklch(44.2% 0.157 265.1);
Tailwind
colors: {
custom: {
50: '#757cc3',
500: '#274aa8',
950: '#000000',
},
}SCSS
$custom: #274aa8; $custom-light: #757cc3; $custom-dark: #000000;
JSON
{
"hex": "#274aa8",
"rgb": {
"r": 39,
"g": 74,
"b": 168
},
"hsl": {
"h": 223.721,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.44161,
"c": 0.15677,
"h": 265.1
},
"luminance": 0.08156
}Semantic roles & 50–950 ramp
primary
#274AA8
secondary
#C3AA67
accent
#B942E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81