#3D38C8#3D38C8

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

Color values

HEX#3D38C8
RGBrgb(61, 56, 200)
HSLhsl(242, 57%, 50%)
HSVhsv(242, 72%, 78%)
CMYKcmyk(69.5%, 72%, 0%, 21.6%)
CIE-LABlab(33.96, 47.20, -73.57)
CIE-LCHlch(33.96, 87.41, 302.68°)
OKLaboklab(45.08% 0.0191 -0.2127)
OKLCHoklch(45.08% 0.214 275.1)
XYZxyz(13.7605, 7.9893, 55.4493)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38C8 #C3C838
analogous
#387BC8 #3D38C8 #8538C8
triadic
#3D38C8 #C83D38 #38C83D
tetradic
#3D38C8 #C8387B #C3C838 #38C885
square
#3D38C8 #C8387B #C3C838 #38C885
split-complementary
#3D38C8 #C88538 #7BC838
monochromatic
#201D69 #2E2A99 #3D38C8 #6C68D5 #9A98E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D38C8#FFFFFF#000000##FFFFFF
##3D38C81.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)
#0056CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d38c8;
/* rgb */ color: rgb(61, 56, 200);
/* oklch */ color: oklch(45.1% 0.214 275.1);
Tailwind
colors: {
  custom: {
    50: '#8670da',
    500: '#3d38c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d38c8;
$custom-light: #8670da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38c8",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 242.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.21353,
    "h": 275.1
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#3D38C8
secondary
#CCCE8E
accent
#E048DB
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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