#3D42BE#3D42BE

#3D42BE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.190 H 274.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3D42BE
RGBrgb(61, 66, 190)
HSLhsl(238, 51%, 49%)
HSVhsv(238, 68%, 75%)
CMYKcmyk(67.9%, 65.3%, 0%, 25.5%)
CIE-LABlab(35.21, 37.95, -65.67)
CIE-LCHlch(35.21, 75.84, 300.03°)
OKLaboklab(45.7% 0.0139 -0.1896)
OKLCHoklch(45.7% 0.19 274.2)
XYZxyz(13.1639, 8.6050, 49.6724)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D42BE #BEB93D
analogous
#3D83BE #3D42BE #783DBE
triadic
#3D42BE #BE3D42 #42BE3D
tetradic
#3D42BE #BE3D83 #BEB93D #3DBE78
square
#3D42BE #BE3D83 #BEB93D #3DBE78
split-complementary
#3D42BE #BE783D #83BE3D
monochromatic
#1F2261 #2E3290 #3D42BE #696DCF #989ADE

Accessibility & contrast

On white

7.72
#3D42BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3D42BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D42BE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D42BE#FFFFFF#000000##FFFFFF
##3D42BE1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d42be;
/* rgb */ color: rgb(61, 66, 190);
/* oklch */ color: oklch(45.7% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#8377d3',
    500: '#3d42be',
    950: '#000000',
  },
}
SCSS
$custom: #3d42be;
$custom-light: #8377d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d42be",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 237.674,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.19007,
    "h": 274.2
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#3D42BE
secondary
#C9C78D
accent
#D54DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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