#3D54C4#3D54C4

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

Color values

HEX#3D54C4
RGBrgb(61, 84, 196)
HSLhsl(230, 53%, 50%)
HSVhsv(230, 69%, 77%)
CMYKcmyk(68.9%, 57.1%, 0%, 23.1%)
CIE-LABlab(40.11, 28.68, -61.18)
CIE-LCHlch(40.11, 67.57, 295.12°)
OKLaboklab(49.47% -0.0002 -0.1762)
OKLCHoklch(49.47% 0.176 269.9)
XYZxyz(15.0552, 11.3168, 53.6048)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54C4 #C4AD3D
analogous
#3D97C4 #3D54C4 #693DC4
triadic
#3D54C4 #C43D54 #54C43D
tetradic
#3D54C4 #C43D97 #C4AD3D #3DC469
square
#3D54C4 #C43D97 #C4AD3D #3DC469
split-complementary
#3D54C4 #C4693D #97C43D
monochromatic
#1F2C67 #2E3F96 #3D54C4 #6C7DD2 #9BA7E1

Accessibility & contrast

On white

6.43
#3D54C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3D54C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54C4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54C4#FFFFFF#000000##FFFFFF
##3D54C41.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d54c4;
/* rgb */ color: rgb(61, 84, 196);
/* oklch */ color: oklch(49.5% 0.176 269.9);
Tailwind
colors: {
  custom: {
    50: '#8383d7',
    500: '#3d54c4',
    950: '#000000',
  },
}
SCSS
$custom: #3d54c4;
$custom-light: #8383d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54c4",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 229.778,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.17624,
    "h": 269.9
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#3D54C4
secondary
#CDC290
accent
#C44BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D54C4

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

Preview Lab → · Contrast checker → · Palette generator →

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