#3742A2#3742A2

#3742A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.154 H 273.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3742A2
RGBrgb(55, 66, 162)
HSLhsl(234, 49%, 43%)
HSVhsv(234, 66%, 64%)
CMYKcmyk(66%, 59.3%, 0%, 36.5%)
CIE-LABlab(32.52, 27.26, -53.43)
CIE-LCHlch(32.52, 59.98, 297.03°)
OKLaboklab(42.9% 0.0083 -0.1538)
OKLCHoklch(42.9% 0.154 273.1)
XYZxyz(10.0432, 7.3164, 35.0584)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742A2 #A29737
analogous
#3777A2 #3742A2 #6237A2
triadic
#3742A2 #A23742 #42A237
tetradic
#3742A2 #A23777 #A29737 #37A262
square
#3742A2 #A23777 #A29737 #37A262
split-complementary
#3742A2 #A26237 #77A237
monochromatic
#181D47 #272F74 #3742A2 #525EC4 #8088D4

Accessibility & contrast

On white

8.52
#3742A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3742A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742A2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742A2#FFFFFF#000000##FFFFFF
##3742A21.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3742a2;
/* rgb */ color: rgb(55, 66, 162);
/* oklch */ color: oklch(42.9% 0.154 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a76be',
    500: '#3742a2',
    950: '#000000',
  },
}
SCSS
$custom: #3742a2;
$custom-light: #7a76be;
$custom-dark: #000000;
JSON
{
  "hex": "#3742a2",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 233.832,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.15402,
    "h": 273.1
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#3742A2
secondary
#BDB678
accent
#CB4FD9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3742A2

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

Preview Lab → · Contrast checker → · Palette generator →

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