#3D54CD#3D54CD

#3D54CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.188 H 270.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3D54CD
RGBrgb(61, 84, 205)
HSLhsl(230, 59%, 52%)
HSVhsv(230, 70%, 80%)
CMYKcmyk(70.2%, 59%, 0%, 19.6%)
CIE-LABlab(40.80, 31.89, -65.27)
CIE-LCHlch(40.80, 72.65, 296.04°)
OKLaboklab(50.2% 0 -0.1883)
OKLCHoklch(50.2% 0.188 270)
XYZxyz(16.1105, 11.7389, 59.1626)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54CD #CDB63D
analogous
#3D9CCD #3D54CD #6E3DCD
triadic
#3D54CD #CD3D54 #54CD3D
tetradic
#3D54CD #CD3D9C #CDB63D #3DCD6E
square
#3D54CD #CD3D9C #CDB63D #3DCD6E
split-complementary
#3D54CD #CD6E3D #9CCD3D
monochromatic
#1D2B72 #2A3DA3 #3D54CD #6E7FDA #9EAAE6

Accessibility & contrast

On white

6.27
#3D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54CD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54CD#FFFFFF#000000##FFFFFF
##3D54CD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d54cd;
/* rgb */ color: rgb(61, 84, 205);
/* oklch */ color: oklch(50.2% 0.188 270.0);
Tailwind
colors: {
  custom: {
    50: '#8583dd',
    500: '#3d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #3d54cd;
$custom-light: #8583dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54cd",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 230.417,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.18826,
    "h": 270
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#3D54CD
secondary
#D2C893
accent
#C946E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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