#3D54BB#3D54BB

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

Color values

HEX#3D54BB
RGBrgb(61, 84, 187)
HSLhsl(229, 51%, 49%)
HSVhsv(229, 67%, 73%)
CMYKcmyk(67.4%, 55.1%, 0%, 26.7%)
CIE-LABlab(39.44, 25.46, -57.01)
CIE-LCHlch(39.44, 62.44, 294.06°)
OKLaboklab(48.76% -0.0005 -0.164)
OKLCHoklch(48.76% 0.164 269.8)
XYZxyz(14.0614, 10.9193, 48.3707)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54BB #BBA43D
analogous
#3D93BB #3D54BB #653DBB
triadic
#3D54BB #BB3D54 #54BB3D
tetradic
#3D54BB #BB3D93 #BBA43D #3DBB65
square
#3D54BB #BB3D93 #BBA43D #3DBB65
split-complementary
#3D54BB #BB653D #93BB3D
monochromatic
#1F2B5F #2E3F8D #3D54BB #687ACE #96A3DD

Accessibility & contrast

On white

6.60
#3D54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3D54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54BB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54BB#FFFFFF#000000##FFFFFF
##3D54BB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d54bb;
/* rgb */ color: rgb(61, 84, 187);
/* oklch */ color: oklch(48.8% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#8183d0',
    500: '#3d54bb',
    950: '#000000',
  },
}
SCSS
$custom: #3d54bb;
$custom-light: #8183d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54bb",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 229.048,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.16397,
    "h": 269.8
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#3D54BB
secondary
#C8BD8C
accent
#C14EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3D54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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