#3742C4#3742C4

#3742C4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.199 H 271.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3742C4
RGBrgb(55, 66, 196)
HSLhsl(235, 56%, 49%)
HSVhsv(235, 72%, 77%)
CMYKcmyk(71.9%, 66.3%, 0%, 23.1%)
CIE-LABlab(35.39, 39.28, -68.91)
CIE-LCHlch(35.39, 79.32, 299.69°)
OKLaboklab(45.9% 0.0067 -0.1992)
OKLCHoklch(45.9% 0.199 271.9)
XYZxyz(13.4842, 8.6928, 53.1811)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742C4 #C4B937
analogous
#3789C4 #3742C4 #7337C4
triadic
#3742C4 #C43742 #42C437
tetradic
#3742C4 #C43789 #C4B937 #37C473
square
#3742C4 #C43789 #C4B937 #37C473
split-complementary
#3742C4 #C47337 #89C437
monochromatic
#1C2264 #2A3294 #3742C4 #656DD4 #949AE1

Accessibility & contrast

On white

7.67
#3742C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3742C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742C4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742C4#FFFFFF#000000##FFFFFF
##3742C41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3742c4;
/* rgb */ color: rgb(55, 66, 196);
/* oklch */ color: oklch(45.9% 0.199 271.9);
Tailwind
colors: {
  custom: {
    50: '#8277d7',
    500: '#3742c4',
    950: '#000000',
  },
}
SCSS
$custom: #3742c4;
$custom-light: #8277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3742c4",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 235.319,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.19931,
    "h": 271.9
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#3742C4
secondary
#CCC78B
accent
#D448DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3742C4

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

Preview Lab → · Contrast checker → · Palette generator →

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