#274CB2#274CB2
#274CB2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.168 H 265.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #274CB2 |
|---|---|
| RGB | rgb(39, 76, 178) |
| HSL | hsl(224, 64%, 43%) |
| HSV | hsv(224, 78%, 70%) |
| CMYK | cmyk(78.1%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(35.62, 24.46, -57.97) |
| CIE-LCH | lch(35.62, 62.92, 292.88°) |
| OKLab | oklab(45.4% -0.0143 -0.1673) |
| OKLCH | oklch(45.4% 0.168 265.1) |
| XYZ | xyz(11.4542, 8.8133, 43.2083) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Sapphire
#0F52BA
ΔE00 2.93
Blue Blue
#2242C7
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 5.23
Dusk Blue
#26538D
ΔE00 6.23
Sapphire (survey)
#2138AB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274CB2 #B28D27
analogous
#2791B2 #274CB2 #4827B2
triadic
#274CB2 #B2274C #4CB227
tetradic
#274CB2 #B22791 #B28D27 #27B248
square
#274CB2 #B22791 #B28D27 #27B248
split-complementary
#274CB2 #B24827 #91B227
monochromatic
#11214E #1C3780 #274CB2 #4168D5 #7390E0
Accessibility & contrast
On white
7.60
#274CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#274CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274CB2
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274CB2 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #274cb2; /* rgb */ color: rgb(39, 76, 178); /* oklch */ color: oklch(45.4% 0.168 265.1);
Tailwind
colors: {
custom: {
50: '#777dca',
500: '#274cb2',
950: '#000000',
},
}SCSS
$custom: #274cb2; $custom-light: #777dca; $custom-dark: #000000;
JSON
{
"hex": "#274cb2",
"rgb": {
"r": 39,
"g": 76,
"b": 178
},
"hsl": {
"h": 224.029,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.45398,
"c": 0.16795,
"h": 265.1
},
"luminance": 0.08815
}Semantic roles & 50–950 ramp
primary
#274CB2
secondary
#C8AF6D
accent
#BB41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82