#274FB4#274FB4
#274FB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.167 H 264.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #274FB4 |
|---|---|
| RGB | rgb(39, 79, 180) |
| HSL | hsl(223, 64%, 43%) |
| HSV | hsv(223, 78%, 71%) |
| CMYK | cmyk(78.3%, 56.1%, 0%, 29.4%) |
| CIE-LAB | lab(36.59, 23.24, -57.58) |
| CIE-LCH | lch(36.59, 62.09, 291.98°) |
| OKLab | oklab(46.17% -0.0163 -0.1661) |
| OKLCH | oklch(46.17% 0.167 264.4) |
| XYZ | xyz(11.8680, 9.3172, 44.3441) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.08
Cobalt
#0047AB
ΔE00 3.21
Blue Blue
#2242C7
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FB4 #B48C27
analogous
#2795B4 #274FB4 #4627B4
triadic
#274FB4 #B4274F #4FB427
tetradic
#274FB4 #B42795 #B48C27 #27B446
square
#274FB4 #B42795 #B48C27 #27B446
split-complementary
#274FB4 #B44627 #95B427
monochromatic
#11234F #1C3982 #274FB4 #426CD6 #7493E1
Accessibility & contrast
On white
7.33
#274FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#274FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FB4
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FB4 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #274fb4; /* rgb */ color: rgb(39, 79, 180); /* oklch */ color: oklch(46.2% 0.167 264.4);
Tailwind
colors: {
custom: {
50: '#777fcb',
500: '#274fb4',
950: '#000000',
},
}SCSS
$custom: #274fb4; $custom-light: #777fcb; $custom-dark: #000000;
JSON
{
"hex": "#274fb4",
"rgb": {
"r": 39,
"g": 79,
"b": 180
},
"hsl": {
"h": 222.979,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.46173,
"c": 0.16695,
"h": 264.4
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#274FB4
secondary
#C8AF6F
accent
#B840E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82