#3742BC#3742BC

#3742BC is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.189 H 272.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3742BC
RGBrgb(55, 66, 188)
HSLhsl(235, 55%, 48%)
HSVhsv(235, 71%, 74%)
CMYKcmyk(70.7%, 64.9%, 0%, 26.3%)
CIE-LABlab(34.68, 36.49, -65.38)
CIE-LCHlch(34.68, 74.87, 299.17°)
OKLaboklab(45.16% 0.0074 -0.1889)
OKLCHoklch(45.16% 0.189 272.2)
XYZxyz(12.5978, 8.3383, 48.5127)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742BC #BCB137
analogous
#3784BC #3742BC #6F37BC
triadic
#3742BC #BC3742 #42BC37
tetradic
#3742BC #BC3784 #BCB137 #37BC6F
square
#3742BC #BC3784 #BCB137 #37BC6F
split-complementary
#3742BC #BC6F37 #84BC37
monochromatic
#1B215D #29318D #3742BC #6069D0 #8F96DE

Accessibility & contrast

On white

7.87
#3742BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3742BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742BC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742BC#FFFFFF#000000##FFFFFF
##3742BC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3742bc;
/* rgb */ color: rgb(55, 66, 188);
/* oklch */ color: oklch(45.2% 0.189 272.2);
Tailwind
colors: {
  custom: {
    50: '#8076d1',
    500: '#3742bc',
    950: '#000000',
  },
}
SCSS
$custom: #3742bc;
$custom-light: #8076d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3742bc",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 235.038,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.18901,
    "h": 272.2
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#3742BC
secondary
#C9C386
accent
#D24ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3742BC

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

Preview Lab → · Contrast checker → · Palette generator →

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