#3742C3#3742C3

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

Color values

HEX#3742C3
RGBrgb(55, 66, 195)
HSLhsl(235, 56%, 49%)
HSVhsv(235, 72%, 76%)
CMYKcmyk(71.8%, 66.2%, 0%, 23.5%)
CIE-LABlab(35.30, 38.94, -68.47)
CIE-LCHlch(35.30, 78.77, 299.63°)
OKLaboklab(45.8% 0.0068 -0.1979)
OKLCHoklch(45.8% 0.198 272)
XYZxyz(13.3708, 8.6474, 52.5836)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742C3 #C3B837
analogous
#3788C3 #3742C3 #7237C3
triadic
#3742C3 #C33742 #42C337
tetradic
#3742C3 #C33788 #C3B837 #37C372
square
#3742C3 #C33788 #C3B837 #37C372
split-complementary
#3742C3 #C37237 #88C337
monochromatic
#1C2264 #2A3293 #3742C3 #646DD3 #949AE1

Accessibility & contrast

On white

7.69
#3742C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3742C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742C3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742C3#FFFFFF#000000##FFFFFF
##3742C31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3742c3;
/* rgb */ color: rgb(55, 66, 195);
/* oklch */ color: oklch(45.8% 0.198 272.0);
Tailwind
colors: {
  custom: {
    50: '#8176d6',
    500: '#3742c3',
    950: '#000000',
  },
}
SCSS
$custom: #3742c3;
$custom-light: #8176d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3742c3",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 235.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.19804,
    "h": 272
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3742C3

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

Preview Lab → · Contrast checker → · Palette generator →

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