#3A37AB#3A37AB

#3A37AB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.179 H 276.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3A37AB
RGBrgb(58, 55, 171)
HSLhsl(242, 51%, 44%)
HSVhsv(242, 68%, 67%)
CMYKcmyk(66.1%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.81, 37.83, -61.62)
CIE-LCHlch(30.81, 72.30, 301.55°)
OKLaboklab(41.94% 0.0204 -0.1778)
OKLCHoklch(41.94% 0.179 276.5)
XYZxyz(10.4594, 6.5713, 39.2374)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37AB #A8AB37
analogous
#376EAB #3A37AB #7437AB
triadic
#3A37AB #AB3A37 #37AB3A
tetradic
#3A37AB #AB376E #A8AB37 #37AB74
square
#3A37AB #AB376E #A8AB37 #37AB74
split-complementary
#3A37AB #AB7437 #6EAB37
monochromatic
#1B194E #2A287D #3A37AB #5956C9 #8785D8

Accessibility & contrast

On white

9.07
#3A37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37AB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37AB#FFFFFF#000000##FFFFFF
##3A37AB1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a37ab;
/* rgb */ color: rgb(58, 55, 171);
/* oklch */ color: oklch(41.9% 0.179 276.5);
Tailwind
colors: {
  custom: {
    50: '#7f6ec5',
    500: '#3a37ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a37ab;
$custom-light: #7f6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37ab",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 241.552,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.17897,
    "h": 276.5
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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