#3742B7#3742B7

#3742B7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.182 H 272.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3742B7
RGBrgb(55, 66, 183)
HSLhsl(235, 54%, 47%)
HSVhsv(235, 70%, 72%)
CMYKcmyk(69.9%, 63.9%, 0%, 28.2%)
CIE-LABlab(34.24, 34.73, -63.14)
CIE-LCHlch(34.24, 72.06, 298.82°)
OKLaboklab(44.71% 0.0077 -0.1823)
OKLCHoklch(44.71% 0.182 272.4)
XYZxyz(12.0681, 8.1264, 45.7231)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742B7 #B7AC37
analogous
#3782B7 #3742B7 #6C37B7
triadic
#3742B7 #B73742 #42B737
tetradic
#3742B7 #B73782 #B7AC37 #37B76C
square
#3742B7 #B73782 #B7AC37 #37B76C
split-complementary
#3742B7 #B76C37 #82B737
monochromatic
#1B2059 #293188 #3742B7 #5D67CE #8C93DC

Accessibility & contrast

On white

8.00
#3742B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3742B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742B7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742B7#FFFFFF#000000##FFFFFF
##3742B71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3742b7;
/* rgb */ color: rgb(55, 66, 183);
/* oklch */ color: oklch(44.7% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f76ce',
    500: '#3742b7',
    950: '#000000',
  },
}
SCSS
$custom: #3742b7;
$custom-light: #7f76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3742b7",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 234.844,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44711,
    "c": 0.18247,
    "h": 272.4
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#3742B7
secondary
#C7C183
accent
#D14BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3742B7

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

Preview Lab → · Contrast checker → · Palette generator →

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