#274EC2#274EC2
#274EC2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.187 H 265.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #274EC2 |
|---|---|
| RGB | rgb(39, 78, 194) |
| HSL | hsl(225, 67%, 46%) |
| HSV | hsv(225, 80%, 76%) |
| CMYK | cmyk(79.9%, 59.8%, 0%, 23.9%) |
| CIE-LAB | lab(37.43, 29.24, -64.42) |
| CIE-LCH | lch(37.43, 70.74, 294.41°) |
| OKLab | oklab(47.15% -0.015 -0.1862) |
| OKLCH | oklch(47.15% 0.187 265.4) |
| XYZ | xyz(13.2953, 9.7736, 52.2143) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274EC2 #C29B27
analogous
#279BC2 #274EC2 #4D27C2
triadic
#274EC2 #C2274E #4EC227
tetradic
#274EC2 #C2279B #C29B27 #27C24D
square
#274EC2 #C2279B #C29B27 #27C24D
split-complementary
#274EC2 #C24D27 #9BC227
monochromatic
#13255C #1D3A8F #274EC2 #4B6FDB #7E98E5
Accessibility & contrast
On white
7.11
#274EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#274EC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274EC2
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274EC2 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #274ec2; /* rgb */ color: rgb(39, 78, 194); /* oklch */ color: oklch(47.2% 0.187 265.4);
Tailwind
colors: {
custom: {
50: '#7b7fd5',
500: '#274ec2',
950: '#000000',
},
}SCSS
$custom: #274ec2; $custom-light: #7b7fd5; $custom-dark: #000000;
JSON
{
"hex": "#274ec2",
"rgb": {
"r": 39,
"g": 78,
"b": 194
},
"hsl": {
"h": 224.903,
"s": 66.524,
"l": 45.686
},
"oklch": {
"l": 0.47154,
"c": 0.18685,
"h": 265.4
},
"luminance": 0.09775
}Semantic roles & 50–950 ramp
primary
#274EC2
secondary
#CEB877
accent
#BE3EE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83