#3742C6#3742C6

#3742C6 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.1% C 0.202 H 271.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3742C6
RGBrgb(55, 66, 198)
HSLhsl(235, 57%, 50%)
HSVhsv(235, 72%, 78%)
CMYKcmyk(72.2%, 66.7%, 0%, 22.4%)
CIE-LABlab(35.57, 39.98, -69.78)
CIE-LCHlch(35.57, 80.42, 299.81°)
OKLaboklab(46.08% 0.0066 -0.2018)
OKLCHoklch(46.08% 0.202 271.9)
XYZxyz(13.7134, 8.7845, 54.3880)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742C6 #C6BB37
analogous
#3789C6 #3742C6 #7437C6
triadic
#3742C6 #C63742 #42C637
tetradic
#3742C6 #C63789 #C6BB37 #37C674
square
#3742C6 #C63789 #C6BB37 #37C674
split-complementary
#3742C6 #C67437 #89C637
monochromatic
#1C2266 #2A3296 #3742C6 #666ED4 #969CE2

Accessibility & contrast

On white

7.62
#3742C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3742C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742C6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742C6#FFFFFF#000000##FFFFFF
##3742C61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3742c6;
/* rgb */ color: rgb(55, 66, 198);
/* oklch */ color: oklch(46.1% 0.202 271.9);
Tailwind
colors: {
  custom: {
    50: '#8277d8',
    500: '#3742c6',
    950: '#000000',
  },
}
SCSS
$custom: #3742c6;
$custom-light: #8277d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3742c6",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 235.385,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.20186,
    "h": 271.9
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#3742C6
secondary
#CDC88C
accent
#D448E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3742C6

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

Preview Lab → · Contrast checker → · Palette generator →

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