#3742AB#3742AB

#3742AB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.166 H 272.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3742AB
RGBrgb(55, 66, 171)
HSLhsl(234, 51%, 44%)
HSVhsv(234, 68%, 67%)
CMYKcmyk(67.8%, 61.4%, 0%, 32.9%)
CIE-LABlab(33.24, 30.48, -57.65)
CIE-LCHlch(33.24, 65.21, 297.86°)
OKLaboklab(43.66% 0.0082 -0.1662)
OKLCHoklch(43.66% 0.166 272.8)
XYZxyz(10.8720, 7.6479, 39.4234)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742AB #ABA037
analogous
#377CAB #3742AB #6637AB
triadic
#3742AB #AB3742 #42AB37
tetradic
#3742AB #AB377C #ABA037 #37AB66
square
#3742AB #AB377C #ABA037 #37AB66
split-complementary
#3742AB #AB6637 #7CAB37
monochromatic
#191E4E #28307D #3742AB #5661C9 #858DD8

Accessibility & contrast

On white

8.30
#3742AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3742AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742AB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742AB#FFFFFF#000000##FFFFFF
##3742AB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3742ab;
/* rgb */ color: rgb(55, 66, 171);
/* oklch */ color: oklch(43.7% 0.166 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c76c5',
    500: '#3742ab',
    950: '#000000',
  },
}
SCSS
$custom: #3742ab;
$custom-light: #7c76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3742ab",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 234.31,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.16641,
    "h": 272.8
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#3742AB
secondary
#C1BB7C
accent
#CD4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3742AB

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

Preview Lab → · Contrast checker → · Palette generator →

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