#3A37C8#3A37C8

#3A37C8 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.215 H 274.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3A37C8
RGBrgb(58, 55, 200)
HSLhsl(241, 57%, 50%)
HSVhsv(241, 73%, 78%)
CMYKcmyk(71%, 72.5%, 0%, 21.6%)
CIE-LABlab(33.56, 47.45, -74.23)
CIE-LCHlch(33.56, 88.10, 302.59°)
OKLaboklab(44.75% 0.016 -0.2147)
OKLCHoklch(44.75% 0.215 274.3)
XYZxyz(13.5330, 7.8007, 55.4249)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C8 #C5C837
analogous
#377DC8 #3A37C8 #8237C8
triadic
#3A37C8 #C83A37 #37C83A
tetradic
#3A37C8 #C8377D #C5C837 #37C882
square
#3A37C8 #C8377D #C5C837 #37C882
split-complementary
#3A37C8 #C88237 #7DC837
monochromatic
#1E1D68 #2C2A98 #3A37C8 #6967D5 #9997E2

Accessibility & contrast

On white

8.20
#3A37C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A37C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37C8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C8#FFFFFF#000000##FFFFFF
##3A37C81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a37c8;
/* rgb */ color: rgb(58, 55, 200);
/* oklch */ color: oklch(44.7% 0.215 274.3);
Tailwind
colors: {
  custom: {
    50: '#8570da',
    500: '#3a37c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c8;
$custom-light: #8570da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c8",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 241.241,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.44745,
    "c": 0.21527,
    "h": 274.3
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#3A37C8
secondary
#CDCE8D
accent
#E048DD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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