#3742C0#3742C0

#3742C0 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.194 H 272.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3742C0
RGBrgb(55, 66, 192)
HSLhsl(235, 55%, 48%)
HSVhsv(235, 71%, 75%)
CMYKcmyk(71.4%, 65.6%, 0%, 24.7%)
CIE-LABlab(35.03, 37.89, -67.15)
CIE-LCHlch(35.03, 77.11, 299.43°)
OKLaboklab(45.53% 0.0071 -0.1941)
OKLCHoklch(45.53% 0.194 272.1)
XYZxyz(13.0350, 8.5131, 50.8152)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742C0 #C0B537
analogous
#3787C0 #3742C0 #7037C0
triadic
#3742C0 #C03742 #42C037
tetradic
#3742C0 #C03787 #C0B537 #37C070
square
#3742C0 #C03787 #C0B537 #37C070
split-complementary
#3742C0 #C07037 #87C037
monochromatic
#1C2161 #293290 #3742C0 #626BD2 #9298E0

Accessibility & contrast

On white

7.77
#3742C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3742C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742C0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742C0#FFFFFF#000000##FFFFFF
##3742C01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3742c0;
/* rgb */ color: rgb(55, 66, 192);
/* oklch */ color: oklch(45.5% 0.194 272.1);
Tailwind
colors: {
  custom: {
    50: '#8176d4',
    500: '#3742c0',
    950: '#000000',
  },
}
SCSS
$custom: #3742c0;
$custom-light: #8176d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3742c0",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 235.182,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.19419,
    "h": 272.1
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3742C0

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

Preview Lab → · Contrast checker → · Palette generator →

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