#3D54C3#3D54C3

#3D54C3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.175 H 269.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3D54C3
RGBrgb(61, 84, 195)
HSLhsl(230, 53%, 50%)
HSVhsv(230, 69%, 76%)
CMYKcmyk(68.7%, 56.9%, 0%, 23.5%)
CIE-LABlab(40.03, 28.33, -60.72)
CIE-LCHlch(40.03, 67.01, 295.01°)
OKLaboklab(49.39% -0.0002 -0.1749)
OKLCHoklch(49.39% 0.175 269.9)
XYZxyz(14.9418, 11.2714, 53.0073)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54C3 #C3AC3D
analogous
#3D97C3 #3D54C3 #693DC3
triadic
#3D54C3 #C33D54 #54C33D
tetradic
#3D54C3 #C33D97 #C3AC3D #3DC369
square
#3D54C3 #C33D97 #C3AC3D #3DC369
split-complementary
#3D54C3 #C3693D #97C33D
monochromatic
#202C66 #2E4095 #3D54C3 #6C7DD1 #9AA6E0

Accessibility & contrast

On white

6.45
#3D54C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3D54C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54C3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54C3#FFFFFF#000000##FFFFFF
##3D54C31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d54c3;
/* rgb */ color: rgb(61, 84, 195);
/* oklch */ color: oklch(49.4% 0.175 269.9);
Tailwind
colors: {
  custom: {
    50: '#8383d6',
    500: '#3d54c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d54c3;
$custom-light: #8383d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54c3",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 229.701,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.17489,
    "h": 269.9
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#3D54C3
secondary
#CCC290
accent
#C34CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D54C3

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

Preview Lab → · Contrast checker → · Palette generator →

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