#3742B4#3742B4

#3742B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.178 H 272.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3742B4
RGBrgb(55, 66, 180)
HSLhsl(235, 53%, 46%)
HSVhsv(235, 69%, 71%)
CMYKcmyk(69.4%, 63.3%, 0%, 29.4%)
CIE-LABlab(33.99, 33.67, -61.78)
CIE-LCHlch(33.99, 70.36, 298.59°)
OKLaboklab(44.44% 0.0078 -0.1783)
OKLCHoklch(44.44% 0.179 272.5)
XYZxyz(11.7592, 8.0028, 44.0962)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742B4 #B4A937
analogous
#3780B4 #3742B4 #6A37B4
triadic
#3742B4 #B43742 #42B437
tetradic
#3742B4 #B43780 #B4A937 #37B46A
square
#3742B4 #B43780 #B4A937 #37B46A
split-complementary
#3742B4 #B46A37 #80B437
monochromatic
#1A2056 #293185 #3742B4 #5B65CD #8A91DB

Accessibility & contrast

On white

8.07
#3742B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3742B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742B4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742B4#FFFFFF#000000##FFFFFF
##3742B41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3742b4;
/* rgb */ color: rgb(55, 66, 180);
/* oklch */ color: oklch(44.4% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e76cb',
    500: '#3742b4',
    950: '#000000',
  },
}
SCSS
$custom: #3742b4;
$custom-light: #7e76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3742b4",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 234.72,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44444,
    "c": 0.1785,
    "h": 272.5
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#3742B4
secondary
#C6C081
accent
#D04BDD
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3742B4

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

Preview Lab → · Contrast checker → · Palette generator →

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