#3A37CC#3A37CC

#3A37CC is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.220 H 274.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A37CC
RGBrgb(58, 55, 204)
HSLhsl(241, 59%, 51%)
HSVhsv(241, 73%, 80%)
CMYKcmyk(71.6%, 73%, 0%, 20%)
CIE-LABlab(33.96, 48.74, -75.91)
CIE-LCHlch(33.96, 90.21, 302.71°)
OKLaboklab(45.15% 0.0153 -0.2196)
OKLCHoklch(45.15% 0.22 274)
XYZxyz(14.0066, 7.9902, 57.9191)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37CC #C9CC37
analogous
#377ECC #3A37CC #8437CC
triadic
#3A37CC #CC3A37 #37CC3A
tetradic
#3A37CC #CC377E #C9CC37 #37CC84
square
#3A37CC #CC377E #C9CC37 #37CC84
split-complementary
#3A37CC #CC8437 #7ECC37
monochromatic
#1D1C6D #2B289E #3A37CC #6A68D8 #9A99E5

Accessibility & contrast

On white

8.08
#3A37CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A37CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37CC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37CC#FFFFFF#000000##FFFFFF
##3A37CC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a37cc;
/* rgb */ color: rgb(58, 55, 204);
/* oklch */ color: oklch(45.1% 0.220 274.0);
Tailwind
colors: {
  custom: {
    50: '#8670dd',
    500: '#3a37cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a37cc;
$custom-light: #8670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37cc",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 241.208,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.22009,
    "h": 274
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#3A37CC
secondary
#CFD08E
accent
#E345DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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