#274EB3#274EB3
#274EB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.167 H 264.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #274EB3 |
|---|---|
| RGB | rgb(39, 78, 179) |
| HSL | hsl(223, 64%, 43%) |
| HSV | hsv(223, 78%, 70%) |
| CMYK | cmyk(78.2%, 56.4%, 0%, 29.8%) |
| CIE-LAB | lab(36.24, 23.52, -57.55) |
| CIE-LCH | lch(36.24, 62.17, 292.23°) |
| OKLab | oklab(45.89% -0.0157 -0.1661) |
| OKLCH | oklch(45.89% 0.167 264.6) |
| XYZ | xyz(11.6949, 9.1334, 43.7857) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.35
Cobalt
#0047AB
ΔE00 2.99
Blue Blue
#2242C7
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.35
Dusk Blue
#26538D
ΔE00 5.93
Denim Blue
#3B5B92
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274EB3 #B38C27
analogous
#2794B3 #274EB3 #4627B3
triadic
#274EB3 #B3274E #4EB327
tetradic
#274EB3 #B32794 #B38C27 #27B346
square
#274EB3 #B32794 #B38C27 #27B346
split-complementary
#274EB3 #B34627 #94B327
monochromatic
#11224E #1C3881 #274EB3 #416BD6 #7492E1
Accessibility & contrast
On white
7.43
#274EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#274EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274EB3
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274EB3 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #274eb3; /* rgb */ color: rgb(39, 78, 179); /* oklch */ color: oklch(45.9% 0.167 264.6);
Tailwind
colors: {
custom: {
50: '#777fcb',
500: '#274eb3',
950: '#000000',
},
}SCSS
$custom: #274eb3; $custom-light: #777fcb; $custom-dark: #000000;
JSON
{
"hex": "#274eb3",
"rgb": {
"r": 39,
"g": 78,
"b": 179
},
"hsl": {
"h": 223.286,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.45887,
"c": 0.16683,
"h": 264.6
},
"luminance": 0.09135
}Semantic roles & 50–950 ramp
primary
#274EB3
secondary
#C8AF6E
accent
#B941E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82