#3D54BC#3D54BC

#3D54BC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.165 H 269.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3D54BC
RGBrgb(61, 84, 188)
HSLhsl(229, 51%, 49%)
HSVhsv(229, 68%, 74%)
CMYKcmyk(67.6%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.52, 25.82, -57.48)
CIE-LCHlch(39.52, 63.01, 294.19°)
OKLaboklab(48.84% -0.0005 -0.1653)
OKLCHoklch(48.84% 0.165 269.8)
XYZxyz(14.1688, 10.9622, 48.9364)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54BC #BCA53D
analogous
#3D94BC #3D54BC #663DBC
triadic
#3D54BC #BC3D54 #54BC3D
tetradic
#3D54BC #BC3D94 #BCA53D #3DBC66
square
#3D54BC #BC3D94 #BCA53D #3DBC66
split-complementary
#3D54BC #BC663D #94BC3D
monochromatic
#1F2B60 #2E3F8E #3D54BC #687BCE #96A3DD

Accessibility & contrast

On white

6.58
#3D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3D54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54BC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54BC#FFFFFF#000000##FFFFFF
##3D54BC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d54bc;
/* rgb */ color: rgb(61, 84, 188);
/* oklch */ color: oklch(48.8% 0.165 269.8);
Tailwind
colors: {
  custom: {
    50: '#8183d1',
    500: '#3d54bc',
    950: '#000000',
  },
}
SCSS
$custom: #3d54bc;
$custom-light: #8183d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54bc",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 229.134,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.16535,
    "h": 269.8
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#3D54BC
secondary
#C9BE8C
accent
#C14DDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3D54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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