#3742BA#3742BA

#3742BA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.186 H 272.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3742BA
RGBrgb(55, 66, 186)
HSLhsl(235, 54%, 47%)
HSVhsv(235, 70%, 73%)
CMYKcmyk(70.4%, 64.5%, 0%, 27.1%)
CIE-LABlab(34.50, 35.79, -64.49)
CIE-LCHlch(34.50, 73.75, 299.03°)
OKLaboklab(44.98% 0.0075 -0.1862)
OKLCHoklch(44.98% 0.186 272.3)
XYZxyz(12.3837, 8.2526, 47.3851)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742BA #BAAF37
analogous
#3783BA #3742BA #6E37BA
triadic
#3742BA #BA3742 #42BA37
tetradic
#3742BA #BA3783 #BAAF37 #37BA6E
square
#3742BA #BA3783 #BAAF37 #37BA6E
split-complementary
#3742BA #BA6E37 #83BA37
monochromatic
#1B205C #29318B #3742BA #5F68D0 #8E95DE

Accessibility & contrast

On white

7.92
#3742BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3742BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742BA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742BA#FFFFFF#000000##FFFFFF
##3742BA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3742ba;
/* rgb */ color: rgb(55, 66, 186);
/* oklch */ color: oklch(45.0% 0.186 272.3);
Tailwind
colors: {
  custom: {
    50: '#8076d0',
    500: '#3742ba',
    950: '#000000',
  },
}
SCSS
$custom: #3742ba;
$custom-light: #8076d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3742ba",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 234.962,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.1864,
    "h": 272.3
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#3742BA
secondary
#C8C285
accent
#D14ADE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3742BA

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

Preview Lab → · Contrast checker → · Palette generator →

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