#274FB0#274FB0
#274FB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.162 H 264.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #274FB0 |
|---|---|
| RGB | rgb(39, 79, 176) |
| HSL | hsl(222, 64%, 42%) |
| HSV | hsv(222, 78%, 69%) |
| CMYK | cmyk(77.8%, 55.1%, 0%, 31%) |
| CIE-LAB | lab(36.28, 21.70, -55.71) |
| CIE-LCH | lch(36.28, 59.78, 291.28°) |
| OKLab | oklab(45.85% -0.0166 -0.1606) |
| OKLCH | oklch(45.85% 0.162 264.1) |
| XYZ | xyz(11.4664, 9.1566, 42.2290) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.13
Cobalt
#0047AB
ΔE00 2.98
Cobalt (survey)
#1E488F
ΔE00 4.99
Dusk Blue
#26538D
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.58
Denim Blue
#3B5B92
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274FB0 #B08827
analogous
#2793B0 #274FB0 #4427B0
triadic
#274FB0 #B0274F #4FB027
tetradic
#274FB0 #B02793 #B08827 #27B044
square
#274FB0 #B02793 #B08827 #27B044
split-complementary
#274FB0 #B04427 #93B027
monochromatic
#11224C #1C397E #274FB0 #406BD5 #7292E0
Accessibility & contrast
On white
7.42
#274FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#274FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274FB0
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274FB0 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #274fb0; /* rgb */ color: rgb(39, 79, 176); /* oklch */ color: oklch(45.8% 0.162 264.1);
Tailwind
colors: {
custom: {
50: '#767fc8',
500: '#274fb0',
950: '#000000',
},
}SCSS
$custom: #274fb0; $custom-light: #767fc8; $custom-dark: #000000;
JSON
{
"hex": "#274fb0",
"rgb": {
"r": 39,
"g": 79,
"b": 176
},
"hsl": {
"h": 222.482,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.45848,
"c": 0.16151,
"h": 264.1
},
"luminance": 0.09158
}Semantic roles & 50–950 ramp
primary
#274FB0
secondary
#C7AC6C
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82