#3734A2#3734A2

#3734A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.171 H 276.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3734A2
RGBrgb(55, 52, 162)
HSLhsl(242, 51%, 42%)
HSVhsv(242, 68%, 64%)
CMYKcmyk(66%, 67.9%, 0%, 36.5%)
CIE-LABlab(29.10, 36.20, -59.01)
CIE-LCHlch(29.10, 69.23, 301.53°)
OKLaboklab(40.39% 0.0199 -0.1703)
OKLCHoklch(40.39% 0.171 276.7)
XYZxyz(9.3230, 5.8761, 34.8183)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3734A2 #9FA234
analogous
#3468A2 #3734A2 #6E34A2
triadic
#3734A2 #A23734 #34A237
tetradic
#3734A2 #A23468 #9FA234 #34A26E
square
#3734A2 #A23468 #9FA234 #34A26E
split-complementary
#3734A2 #A26E34 #68A234
monochromatic
#181645 #272574 #3734A2 #514DC6 #7E7CD5

Accessibility & contrast

On white

9.65
#3734A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3734A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3734A2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3734A2#FFFFFF#000000##FFFFFF
##3734A21.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3734a2;
/* rgb */ color: rgb(55, 52, 162);
/* oklch */ color: oklch(40.4% 0.171 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c6cbf',
    500: '#3734a2',
    950: '#000000',
  },
}
SCSS
$custom: #3734a2;
$custom-light: #7c6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3734a2",
  "rgb": {
    "r": 55,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 241.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.17143,
    "h": 276.7
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#3734A2
secondary
#BCBE74
accent
#DB4DD7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3734A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3734A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva