#3D54CE#3D54CE

#3D54CE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.190 H 270.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3D54CE
RGBrgb(61, 84, 206)
HSLhsl(230, 60%, 52%)
HSVhsv(230, 70%, 81%)
CMYKcmyk(70.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(40.88, 32.25, -65.72)
CIE-LCHlch(40.88, 73.21, 296.13°)
OKLaboklab(50.28% 0 -0.1896)
OKLCHoklch(50.28% 0.19 270)
XYZxyz(16.2316, 11.7874, 59.8003)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54CE #CEB73D
analogous
#3D9CCE #3D54CE #6F3DCE
triadic
#3D54CE #CE3D54 #54CE3D
tetradic
#3D54CE #CE3D9C #CEB73D #3DCE6F
square
#3D54CE #CE3D9C #CEB73D #3DCE6F
split-complementary
#3D54CE #CE6F3D #9CCE3D
monochromatic
#1D2B73 #293DA4 #3D54CE #6E7FDA #9FAAE7

Accessibility & contrast

On white

6.25
#3D54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3D54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54CE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54CE#FFFFFF#000000##FFFFFF
##3D54CE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d54ce;
/* rgb */ color: rgb(61, 84, 206);
/* oklch */ color: oklch(50.3% 0.190 270.0);
Tailwind
colors: {
  custom: {
    50: '#8584de',
    500: '#3d54ce',
    950: '#000000',
  },
}
SCSS
$custom: #3d54ce;
$custom-light: #8584de;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54ce",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 230.483,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.18958,
    "h": 270
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#3D54CE
secondary
#D3C994
accent
#CA45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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