#3A37CD#3A37CD

#3A37CD is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.221 H 273.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3A37CD
RGBrgb(58, 55, 205)
HSLhsl(241, 60%, 51%)
HSVhsv(241, 73%, 80%)
CMYKcmyk(71.7%, 73.2%, 0%, 19.6%)
CIE-LABlab(34.06, 49.07, -76.32)
CIE-LCHlch(34.06, 90.74, 302.74°)
OKLaboklab(45.25% 0.0151 -0.2208)
OKLCHoklch(45.25% 0.221 273.9)
XYZxyz(14.1269, 8.0383, 58.5528)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37CD #CACD37
analogous
#377FCD #3A37CD #8537CD
triadic
#3A37CD #CD3A37 #37CD3A
tetradic
#3A37CD #CD377F #CACD37 #37CD85
square
#3A37CD #CD377F #CACD37 #37CD85
split-complementary
#3A37CD #CD8537 #7FCD37
monochromatic
#1D1C6E #2A289F #3A37CD #6A68D9 #9A99E5

Accessibility & contrast

On white

8.05
#3A37CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A37CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37CD
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37CD#FFFFFF#000000##FFFFFF
##3A37CD1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a37cd;
/* rgb */ color: rgb(58, 55, 205);
/* oklch */ color: oklch(45.2% 0.221 273.9);
Tailwind
colors: {
  custom: {
    50: '#8670de',
    500: '#3a37cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a37cd;
$custom-light: #8670de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37cd",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 241.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.22129,
    "h": 273.9
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#3A37CD
secondary
#D0D18F
accent
#E345E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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