#3D38CA#3D38CA

#3D38CA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.216 H 275.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3D38CA
RGBrgb(61, 56, 202)
HSLhsl(242, 58%, 51%)
HSVhsv(242, 72%, 79%)
CMYKcmyk(69.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.16, 47.84, -74.42)
CIE-LCHlch(34.16, 88.47, 302.74°)
OKLaboklab(45.28% 0.0187 -0.2151)
OKLCHoklch(45.28% 0.216 275)
XYZxyz(13.9958, 8.0834, 56.6883)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38CA #C5CA38
analogous
#387CCA #3D38CA #8638CA
triadic
#3D38CA #CA3D38 #38CA3D
tetradic
#3D38CA #CA387C #C5CA38 #38CA86
square
#3D38CA #CA387C #C5CA38 #38CA86
split-complementary
#3D38CA #CA8638 #7CCA38
monochromatic
#1F1D6B #2D299B #3D38CA #6C68D7 #9B99E4

Accessibility & contrast

On white

8.02
#3D38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3D38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38CA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38CA#FFFFFF#000000##FFFFFF
##3D38CA1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d38ca;
/* rgb */ color: rgb(61, 56, 202);
/* oklch */ color: oklch(45.3% 0.216 275.0);
Tailwind
colors: {
  custom: {
    50: '#8670db',
    500: '#3d38ca',
    950: '#000000',
  },
}
SCSS
$custom: #3d38ca;
$custom-light: #8670db;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38ca",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 242.055,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45276,
    "c": 0.21596,
    "h": 275
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#3D38CA
secondary
#CDCF8E
accent
#E147DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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