#3D38BE#3D38BE

#3D38BE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.201 H 275.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#3D38BE
RGBrgb(61, 56, 190)
HSLhsl(242, 54%, 48%)
HSVhsv(242, 71%, 75%)
CMYKcmyk(67.9%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.00, 43.94, -69.30)
CIE-LCHlch(33.00, 82.05, 302.38°)
OKLaboklab(44.1% 0.0207 -0.2002)
OKLCHoklch(44.1% 0.201 275.9)
XYZxyz(12.6299, 7.5370, 49.4944)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D38BE #B9BE38
analogous
#3876BE #3D38BE #8038BE
triadic
#3D38BE #BE3D38 #38BE3D
tetradic
#3D38BE #BE3876 #B9BE38 #38BE80
square
#3D38BE #BE3876 #B9BE38 #38BE80
split-complementary
#3D38BE #BE8038 #76BE38
monochromatic
#1F1C5F #2E2A8F #3D38BE #6662D1 #9592DF

Accessibility & contrast

On white

8.37
#3D38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3D38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D38BE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D38BE#FFFFFF#000000##FFFFFF
##3D38BE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d38be;
/* rgb */ color: rgb(61, 56, 190);
/* oklch */ color: oklch(44.1% 0.201 275.9);
Tailwind
colors: {
  custom: {
    50: '#8470d3',
    500: '#3d38be',
    950: '#000000',
  },
}
SCSS
$custom: #3d38be;
$custom-light: #8470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d38be",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 242.239,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44102,
    "c": 0.20127,
    "h": 275.9
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#3D38BE
secondary
#C7CA88
accent
#DE4AD8
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3D38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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