#3742BE#3742BE

#3742BE is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.192 H 272.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3742BE
RGBrgb(55, 66, 190)
HSLhsl(235, 55%, 48%)
HSVhsv(235, 71%, 75%)
CMYKcmyk(71.1%, 65.3%, 0%, 25.5%)
CIE-LABlab(34.85, 37.19, -66.27)
CIE-LCHlch(34.85, 75.99, 299.30°)
OKLaboklab(45.34% 0.0072 -0.1915)
OKLCHoklch(45.34% 0.192 272.2)
XYZxyz(12.8149, 8.4251, 49.6561)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3742BE #BEB337
analogous
#3785BE #3742BE #6F37BE
triadic
#3742BE #BE3742 #42BE37
tetradic
#3742BE #BE3785 #BEB337 #37BE6F
square
#3742BE #BE3785 #BEB337 #37BE6F
split-complementary
#3742BE #BE6F37 #85BE37
monochromatic
#1C215F #29328F #3742BE #616AD1 #9097DF

Accessibility & contrast

On white

7.82
#3742BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3742BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3742BE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3742BE#FFFFFF#000000##FFFFFF
##3742BE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3742be;
/* rgb */ color: rgb(55, 66, 190);
/* oklch */ color: oklch(45.3% 0.192 272.2);
Tailwind
colors: {
  custom: {
    50: '#8076d3',
    500: '#3742be',
    950: '#000000',
  },
}
SCSS
$custom: #3742be;
$custom-light: #8076d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3742be",
  "rgb": {
    "r": 55,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 235.111,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.19161,
    "h": 272.2
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#3742BE
secondary
#CAC487
accent
#D249DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3742BE

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

Preview Lab → · Contrast checker → · Palette generator →

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