#3D54CB#3D54CB

#3D54CB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.186 H 270.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3D54CB
RGBrgb(61, 84, 203)
HSLhsl(230, 58%, 52%)
HSVhsv(230, 70%, 80%)
CMYKcmyk(70%, 58.6%, 0%, 20.4%)
CIE-LABlab(40.64, 31.18, -64.37)
CIE-LCHlch(40.64, 71.53, 295.84°)
OKLaboklab(50.03% 0 -0.1856)
OKLCHoklch(50.03% 0.186 270)
XYZxyz(15.8706, 11.6430, 57.8993)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54CB #CBB43D
analogous
#3D9BCB #3D54CB #6D3DCB
triadic
#3D54CB #CB3D54 #54CB3D
tetradic
#3D54CB #CB3D9B #CBB43D #3DCB6D
square
#3D54CB #CB3D9B #CBB43D #3DCB6D
split-complementary
#3D54CB #CB6D3D #9BCB3D
monochromatic
#1E2B70 #2B3EA0 #3D54CB #6D7FD8 #9EA9E5

Accessibility & contrast

On white

6.31
#3D54CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3D54CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54CB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54CB#FFFFFF#000000##FFFFFF
##3D54CB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d54cb;
/* rgb */ color: rgb(61, 84, 203);
/* oklch */ color: oklch(50.0% 0.186 270.0);
Tailwind
colors: {
  custom: {
    50: '#8483dc',
    500: '#3d54cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d54cb;
$custom-light: #8483dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54cb",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 230.282,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.18561,
    "h": 270
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#3D54CB
secondary
#D1C793
accent
#C847E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D54CB

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

Preview Lab → · Contrast checker → · Palette generator →

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