#274CB4#274CB4
#274CB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.171 H 265.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #274CB4 |
|---|---|
| RGB | rgb(39, 76, 180) |
| HSL | hsl(224, 64%, 43%) |
| HSV | hsv(224, 78%, 71%) |
| CMYK | cmyk(78.3%, 57.8%, 0%, 29.4%) |
| CIE-LAB | lab(35.78, 25.23, -58.89) |
| CIE-LCH | lch(35.78, 64.07, 293.19°) |
| OKLab | oklab(45.57% -0.0142 -0.1701) |
| OKLCH | oklch(45.57% 0.171 265.2) |
| XYZ | xyz(11.6564, 8.8942, 44.2736) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Sapphire
#0F52BA
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 6.08
Sapphire (survey)
#2138AB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274CB4 #B48F27
analogous
#2793B4 #274CB4 #4827B4
triadic
#274CB4 #B4274C #4CB427
tetradic
#274CB4 #B42793 #B48F27 #27B448
square
#274CB4 #B42793 #B48F27 #27B448
split-complementary
#274CB4 #B44827 #93B427
monochromatic
#11224F #1C3782 #274CB4 #4269D6 #7491E1
Accessibility & contrast
On white
7.56
#274CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#274CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274CB4
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274CB4 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #274cb4; /* rgb */ color: rgb(39, 76, 180); /* oklch */ color: oklch(45.6% 0.171 265.2);
Tailwind
colors: {
custom: {
50: '#787dcb',
500: '#274cb4',
950: '#000000',
},
}SCSS
$custom: #274cb4; $custom-light: #787dcb; $custom-dark: #000000;
JSON
{
"hex": "#274cb4",
"rgb": {
"r": 39,
"g": 76,
"b": 180
},
"hsl": {
"h": 224.255,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.45565,
"c": 0.17065,
"h": 265.2
},
"luminance": 0.08896
}Semantic roles & 50–950 ramp
primary
#274CB4
secondary
#C8B16F
accent
#BC40E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82