#274AA7#274AA7
#274AA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.155 H 265.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #274AA7 |
|---|---|
| RGB | rgb(39, 74, 167) |
| HSL | hsl(224, 62%, 40%) |
| HSV | hsv(224, 77%, 65%) |
| CMYK | cmyk(76.6%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(34.23, 21.56, -53.69) |
| CIE-LCH | lch(34.23, 57.86, 291.88°) |
| OKLab | oklab(44.08% -0.0136 -0.1548) |
| OKLCH | oklch(44.08% 0.155 265) |
| XYZ | xyz(10.2581, 8.1178, 37.5780) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.10
Cobalt (survey)
#1E488F
ΔE00 3.81
Sapphire
#0F52BA
ΔE00 3.81
Blue Blue
#2242C7
ΔE00 5.42
Dusk Blue
#26538D
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274AA7 #A78427
analogous
#278AA7 #274AA7 #4427A7
triadic
#274AA7 #A7274A #4AA727
tetradic
#274AA7 #A7278A #A78427 #27A744
square
#274AA7 #A7278A #A78427 #27A744
split-complementary
#274AA7 #A74427 #8AA727
monochromatic
#101E44 #1B3475 #274AA7 #3A63D1 #6C8BDD
Accessibility & contrast
On white
8.00
#274AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#274AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274AA7
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274AA7 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #274aa7; /* rgb */ color: rgb(39, 74, 167); /* oklch */ color: oklch(44.1% 0.155 265.0);
Tailwind
colors: {
custom: {
50: '#757cc2',
500: '#274aa7',
950: '#000000',
},
}SCSS
$custom: #274aa7; $custom-light: #757cc2; $custom-dark: #000000;
JSON
{
"hex": "#274aa7",
"rgb": {
"r": 39,
"g": 74,
"b": 167
},
"hsl": {
"h": 223.594,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.44079,
"c": 0.15539,
"h": 265
},
"luminance": 0.08119
}Semantic roles & 50–950 ramp
primary
#274AA7
secondary
#C3AA67
accent
#B943E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81