#3A37E2#3A37E2

#3A37E2 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.4% C 0.246 H 272.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A37E2
RGBrgb(58, 55, 226)
HSLhsl(241, 75%, 55%)
HSVhsv(241, 76%, 89%)
CMYKcmyk(74.3%, 75.7%, 0%, 11.4%)
CIE-LABlab(36.22, 55.72, -84.87)
CIE-LCHlch(36.22, 101.52, 303.29°)
OKLaboklab(47.41% 0.0112 -0.2456)
OKLCHoklch(47.41% 0.246 272.6)
XYZxyz(16.8340, 9.1211, 72.8101)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37E2 #DFE237
analogous
#3789E2 #3A37E2 #9037E2
triadic
#3A37E2 #E23A37 #37E23A
tetradic
#3A37E2 #E23789 #DFE237 #37E290
square
#3A37E2 #E23789 #DFE237 #37E290
split-complementary
#3A37E2 #E29037 #89E237
monochromatic
#16148B #1F1CC0 #3A37E2 #6F6CEA #A3A2F2

Accessibility & contrast

On white

7.43
#3A37E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A37E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37E2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37E2#FFFFFF#000000##FFFFFF
##3A37E21.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004DDF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a37e2;
/* rgb */ color: rgb(58, 55, 226);
/* oklch */ color: oklch(47.4% 0.246 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a71ed',
    500: '#3a37e2',
    950: '#000000',
  },
}
SCSS
$custom: #3a37e2;
$custom-light: #8a71ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37e2",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 241.053,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.24586,
    "h": 272.6
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#3A37E2
secondary
#DDDE97
accent
#F137EE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3A37E2

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

Preview Lab → · Contrast checker → · Palette generator →

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