#3B37C8#3B37C8

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

Color values

HEX#3B37C8
RGBrgb(59, 55, 200)
HSLhsl(242, 57%, 50%)
HSVhsv(242, 73%, 78%)
CMYKcmyk(70.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(33.63, 47.55, -74.13)
CIE-LCHlch(33.63, 88.07, 302.68°)
OKLaboklab(44.81% 0.0172 -0.2143)
OKLCHoklch(44.81% 0.215 274.6)
XYZxyz(13.5917, 7.8310, 55.4276)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B37C8 #C4C837
analogous
#377CC8 #3B37C8 #8337C8
triadic
#3B37C8 #C83B37 #37C83B
tetradic
#3B37C8 #C8377C #C4C837 #37C883
square
#3B37C8 #C8377C #C4C837 #37C883
split-complementary
#3B37C8 #C88337 #7CC837
monochromatic
#1F1D68 #2D2A98 #3B37C8 #6A67D5 #9997E2

Accessibility & contrast

On white

8.18
#3B37C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3B37C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B37C8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B37C8#FFFFFF#000000##FFFFFF
##3B37C81.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.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: #3b37c8;
/* rgb */ color: rgb(59, 55, 200);
/* oklch */ color: oklch(44.8% 0.215 274.6);
Tailwind
colors: {
  custom: {
    50: '#8570da',
    500: '#3b37c8',
    950: '#000000',
  },
}
SCSS
$custom: #3b37c8;
$custom-light: #8570da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b37c8",
  "rgb": {
    "r": 59,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 241.655,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.21503,
    "h": 274.6
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#3B37C8
secondary
#CCCE8D
accent
#E048DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3B37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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