#274AB3#274AB3
#274AB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.172 H 265.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #274AB3 |
|---|---|
| RGB | rgb(39, 74, 179) |
| HSL | hsl(225, 64%, 43%) |
| HSV | hsv(225, 78%, 70%) |
| CMYK | cmyk(78.2%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.17, 26.17, -59.30) |
| CIE-LCH | lch(35.17, 64.82, 293.81°) |
| OKLab | oklab(45.08% -0.0129 -0.1713) |
| OKLCH | oklch(45.08% 0.172 265.7) |
| XYZ | xyz(11.4193, 8.5823, 43.6938) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.75
Sapphire
#0F52BA
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 3.90
Cobalt (survey)
#1E488F
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 5.57
Blue (survey)
#0343DF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274AB3 #B39027
analogous
#2790B3 #274AB3 #4A27B3
triadic
#274AB3 #B3274A #4AB327
tetradic
#274AB3 #B32790 #B39027 #27B34A
square
#274AB3 #B32790 #B39027 #27B34A
split-complementary
#274AB3 #B34A27 #90B327
monochromatic
#11204E #1C3581 #274AB3 #4167D6 #748FE1
Accessibility & contrast
On white
7.73
#274AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#274AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274AB3
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274AB3 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #274ab3; /* rgb */ color: rgb(39, 74, 179); /* oklch */ color: oklch(45.1% 0.172 265.7);
Tailwind
colors: {
custom: {
50: '#777ccb',
500: '#274ab3',
950: '#000000',
},
}SCSS
$custom: #274ab3; $custom-light: #777ccb; $custom-dark: #000000;
JSON
{
"hex": "#274ab3",
"rgb": {
"r": 39,
"g": 74,
"b": 179
},
"hsl": {
"h": 225,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.45081,
"c": 0.17178,
"h": 265.7
},
"luminance": 0.08584
}Semantic roles & 50–950 ramp
primary
#274AB3
secondary
#C8B16E
accent
#BE41E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82