#3740C2#3740C2
#3740C2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.199 H 272.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3740C2 |
|---|---|
| RGB | rgb(55, 64, 194) |
| HSL | hsl(236, 56%, 49%) |
| HSV | hsv(236, 72%, 76%) |
| CMYK | cmyk(71.6%, 67%, 0%, 23.9%) |
| CIE-LAB | lab(34.75, 39.82, -68.79) |
| CIE-LCH | lch(34.75, 79.48, 300.07°) |
| OKLab | oklab(45.38% 0.0082 -0.1988) |
| OKLCH | oklch(45.38% 0.199 272.3) |
| XYZ | xyz(13.1433, 8.3727, 51.9519) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.96
Ocean Blue
#4F42B5
ΔE00 3.47
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.40
Blurple
#5539CC
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3740C2 #C2B937
analogous
#3786C2 #3740C2 #7437C2
triadic
#3740C2 #C23740 #40C237
tetradic
#3740C2 #C23786 #C2B937 #37C274
square
#3740C2 #C23786 #C2B937 #37C274
split-complementary
#3740C2 #C27437 #86C237
monochromatic
#1C2163 #293092 #3740C2 #636BD3 #9398E0
Accessibility & contrast
On white
7.85
#3740C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3740C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3740C2
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3740C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3740C2 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3740c2; /* rgb */ color: rgb(55, 64, 194); /* oklch */ color: oklch(45.4% 0.199 272.3);
Tailwind
colors: {
custom: {
50: '#8175d6',
500: '#3740c2',
950: '#000000',
},
}SCSS
$custom: #3740c2; $custom-light: #8175d6; $custom-dark: #000000;
JSON
{
"hex": "#3740c2",
"rgb": {
"r": 55,
"g": 64,
"b": 194
},
"hsl": {
"h": 236.115,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.45376,
"c": 0.19902,
"h": 272.3
},
"luminance": 0.08374
}Semantic roles & 50–950 ramp
primary
#3740C2
secondary
#CBC789
accent
#D549DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83