#274FAB#274FAB
#274FAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.155 H 263.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #274FAB |
|---|---|
| RGB | rgb(39, 79, 171) |
| HSL | hsl(222, 63%, 41%) |
| HSV | hsv(222, 77%, 67%) |
| CMYK | cmyk(77.2%, 53.8%, 0%, 32.9%) |
| CIE-LAB | lab(35.91, 19.76, -53.34) |
| CIE-LCH | lch(35.91, 56.89, 290.33°) |
| OKLab | oklab(45.45% -0.017 -0.1537) |
| OKLCH | oklch(45.45% 0.155 263.7) |
| XYZ | xyz(10.9808, 8.9623, 39.6714) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.39
Cobalt
#0047AB
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 4.35
Dusk Blue
#26538D
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FAB #AB8327
analogous
#2791AB #274FAB #4127AB
triadic
#274FAB #AB274F #4FAB27
tetradic
#274FAB #AB2791 #AB8327 #27AB41
square
#274FAB #AB2791 #AB8327 #27AB41
split-complementary
#274FAB #AB4127 #91AB27
monochromatic
#102147 #1C3879 #274FAB #3D6AD3 #6E90DE
Accessibility & contrast
On white
7.52
#274FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#274FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FAB
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FAB | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#065BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #274fab; /* rgb */ color: rgb(39, 79, 171); /* oklch */ color: oklch(45.4% 0.155 263.7);
Tailwind
colors: {
custom: {
50: '#757fc5',
500: '#274fab',
950: '#000000',
},
}SCSS
$custom: #274fab; $custom-light: #757fc5; $custom-dark: #000000;
JSON
{
"hex": "#274fab",
"rgb": {
"r": 39,
"g": 79,
"b": 171
},
"hsl": {
"h": 221.818,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.45448,
"c": 0.15463,
"h": 263.7
},
"luminance": 0.08964
}Semantic roles & 50–950 ramp
primary
#274FAB
secondary
#C5A969
accent
#B442E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82