#3A37AC#3A37AC

#3A37AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.180 H 276.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3A37AC
RGBrgb(58, 55, 172)
HSLhsl(242, 52%, 45%)
HSVhsv(242, 68%, 67%)
CMYKcmyk(66.3%, 68%, 0%, 32.5%)
CIE-LABlab(30.90, 38.17, -62.07)
CIE-LCHlch(30.90, 72.86, 301.59°)
OKLaboklab(42.03% 0.0202 -0.1791)
OKLCHoklch(42.03% 0.18 276.4)
XYZxyz(10.5551, 6.6096, 39.7413)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37AC #A9AC37
analogous
#376FAC #3A37AC #7437AC
triadic
#3A37AC #AC3A37 #37AC3A
tetradic
#3A37AC #AC376F #A9AC37 #37AC74
square
#3A37AC #AC376F #A9AC37 #37AC74
split-complementary
#3A37AC #AC7437 #6FAC37
monochromatic
#1B194F #2A287E #3A37AC #5A57C9 #8785D8

Accessibility & contrast

On white

9.04
#3A37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A37AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37AC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37AC#FFFFFF#000000##FFFFFF
##3A37AC1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a37ac;
/* rgb */ color: rgb(58, 55, 172);
/* oklch */ color: oklch(42.0% 0.180 276.4);
Tailwind
colors: {
  custom: {
    50: '#7f6fc6',
    500: '#3a37ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a37ac;
$custom-light: #7f6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37ac",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 241.538,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.18027,
    "h": 276.4
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#3A37AC
secondary
#C0C27D
accent
#DB4DD7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A37AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A37AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva