#274AA2#274AA2
#274AA2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.148 H 264.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #274AA2 |
|---|---|
| RGB | rgb(39, 74, 162) |
| HSL | hsl(223, 61%, 39%) |
| HSV | hsv(223, 76%, 64%) |
| CMYK | cmyk(75.9%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(33.85, 19.63, -51.30) |
| CIE-LCH | lch(33.85, 54.93, 290.93°) |
| OKLab | oklab(43.68% -0.014 -0.1478) |
| OKLCH | oklch(43.68% 0.148 264.6) |
| XYZ | xyz(9.8048, 7.9364, 35.1906) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.21
Cobalt (survey)
#1E488F
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 4.13
Dusk Blue
#26538D
ΔE00 5.04
Darkish Blue
#014182
ΔE00 5.97
Blue Blue
#2242C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274AA2 #A27F27
analogous
#2788A2 #274AA2 #4227A2
triadic
#274AA2 #A2274A #4AA227
tetradic
#274AA2 #A22788 #A27F27 #27A242
square
#274AA2 #A22788 #A27F27 #27A242
split-complementary
#274AA2 #A24227 #88A227
monochromatic
#0F1D3F #1B3371 #274AA2 #3762CF #6989DB
Accessibility & contrast
On white
8.12
#274AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#274AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274AA2
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274AA2 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #274aa2; /* rgb */ color: rgb(39, 74, 162); /* oklch */ color: oklch(43.7% 0.148 264.6);
Tailwind
colors: {
custom: {
50: '#737cbe',
500: '#274aa2',
950: '#000000',
},
}SCSS
$custom: #274aa2; $custom-light: #737cbe; $custom-dark: #000000;
JSON
{
"hex": "#274aa2",
"rgb": {
"r": 39,
"g": 74,
"b": 162
},
"hsl": {
"h": 222.927,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.43676,
"c": 0.14844,
"h": 264.6
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#274AA2
secondary
#C1A664
accent
#B743E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81