#3D42BC#3D42BC

#3D42BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.187 H 274.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3D42BC
RGBrgb(61, 66, 188)
HSLhsl(238, 51%, 49%)
HSVhsv(238, 68%, 74%)
CMYKcmyk(67.6%, 64.9%, 0%, 26.3%)
CIE-LABlab(35.04, 37.27, -64.77)
CIE-LCHlch(35.04, 74.73, 299.91°)
OKLaboklab(45.52% 0.0141 -0.1869)
OKLCHoklch(45.52% 0.187 274.3)
XYZxyz(12.9468, 8.5182, 48.5291)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D42BC #BCB73D
analogous
#3D82BC #3D42BC #783DBC
triadic
#3D42BC #BC3D42 #42BC3D
tetradic
#3D42BC #BC3D82 #BCB73D #3DBC78
square
#3D42BC #BC3D82 #BCB73D #3DBC78
split-complementary
#3D42BC #BC783D #82BC3D
monochromatic
#1F2260 #2E328E #3D42BC #686CCE #9699DD

Accessibility & contrast

On white

7.77
#3D42BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3D42BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D42BC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D42BC#FFFFFF#000000##FFFFFF
##3D42BC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d42bc;
/* rgb */ color: rgb(61, 66, 188);
/* oklch */ color: oklch(45.5% 0.187 274.3);
Tailwind
colors: {
  custom: {
    50: '#8277d1',
    500: '#3d42bc',
    950: '#000000',
  },
}
SCSS
$custom: #3d42bc;
$custom-light: #8277d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d42bc",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 237.638,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.18747,
    "h": 274.3
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#3D42BC
secondary
#C9C68C
accent
#D54DDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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