#3742C2#3742C2

#3742C2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.197 H 272.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3742C2
RGBrgb(55, 66, 194)
HSLhsl(235, 56%, 49%)
HSVhsv(235, 72%, 76%)
CMYKcmyk(71.6%, 66%, 0%, 23.9%)
CIE-LABlab(35.21, 38.59, -68.03)
CIE-LCHlch(35.21, 78.21, 299.56°)
OKLaboklab(45.71% 0.0069 -0.1966)
OKLCHoklch(45.71% 0.197 272)
XYZxyz(13.2581, 8.6024, 51.9902)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742C2 #C2B737
analogous
#3788C2 #3742C2 #7237C2
triadic
#3742C2 #C23742 #42C237
tetradic
#3742C2 #C23788 #C2B737 #37C272
square
#3742C2 #C23788 #C2B737 #37C272
split-complementary
#3742C2 #C27237 #88C237
monochromatic
#1C2263 #293292 #3742C2 #636CD3 #9399E0

Accessibility & contrast

On white

7.72
#3742C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3742C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742C2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742C2#FFFFFF#000000##FFFFFF
##3742C21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3742c2;
/* rgb */ color: rgb(55, 66, 194);
/* oklch */ color: oklch(45.7% 0.197 272.0);
Tailwind
colors: {
  custom: {
    50: '#8176d6',
    500: '#3742c2',
    950: '#000000',
  },
}
SCSS
$custom: #3742c2;
$custom-light: #8176d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3742c2",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 235.252,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.19676,
    "h": 272
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#3742C2
secondary
#CBC689
accent
#D349DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3742C2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3742C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva