#3D38C0#3D38C0

#3D38C0 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.204 H 275.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3D38C0
RGBrgb(61, 56, 192)
HSLhsl(242, 55%, 49%)
HSVhsv(242, 71%, 75%)
CMYKcmyk(68.2%, 70.8%, 0%, 24.7%)
CIE-LABlab(33.19, 44.60, -70.16)
CIE-LCHlch(33.19, 83.13, 302.44°)
OKLaboklab(44.3% 0.0204 -0.2027)
OKLCHoklch(44.3% 0.204 275.7)
XYZxyz(12.8499, 7.6251, 50.6535)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38C0 #BBC038
analogous
#3877C0 #3D38C0 #8138C0
triadic
#3D38C0 #C03D38 #38C03D
tetradic
#3D38C0 #C03877 #BBC038 #38C081
square
#3D38C0 #C03877 #BBC038 #38C081
split-complementary
#3D38C0 #C08138 #77C038
monochromatic
#1F1C61 #2E2A91 #3D38C0 #6864D2 #9693DF

Accessibility & contrast

On white

8.32
#3D38C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3D38C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38C0
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38C0#FFFFFF#000000##FFFFFF
##3D38C01.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d38c0;
/* rgb */ color: rgb(61, 56, 192);
/* oklch */ color: oklch(44.3% 0.204 275.7);
Tailwind
colors: {
  custom: {
    50: '#8470d4',
    500: '#3d38c0',
    950: '#000000',
  },
}
SCSS
$custom: #3d38c0;
$custom-light: #8470d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38c0",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 242.206,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44295,
    "c": 0.20374,
    "h": 275.7
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#3D38C0
secondary
#C8CB89
accent
#DE4AD9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3D38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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