#3D54BF#3D54BF

#3D54BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.169 H 269.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3D54BF
RGBrgb(61, 84, 191)
HSLhsl(229, 52%, 49%)
HSVhsv(229, 68%, 75%)
CMYKcmyk(68.1%, 56%, 0%, 25.1%)
CIE-LABlab(39.74, 26.89, -58.88)
CIE-LCHlch(39.74, 64.73, 294.55°)
OKLaboklab(49.07% -0.0003 -0.1695)
OKLCHoklch(49.07% 0.169 269.9)
XYZxyz(14.4956, 11.0929, 50.6573)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D54BF #BFA83D
analogous
#3D95BF #3D54BF #673DBF
triadic
#3D54BF #BF3D54 #54BF3D
tetradic
#3D54BF #BF3D95 #BFA83D #3DBF67
square
#3D54BF #BF3D95 #BFA83D #3DBF67
split-complementary
#3D54BF #BF673D #95BF3D
monochromatic
#1F2B62 #2E4091 #3D54BF #6A7CCF #98A5DE

Accessibility & contrast

On white

6.52
#3D54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3D54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D54BF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D54BF#FFFFFF#000000##FFFFFF
##3D54BF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d54bf;
/* rgb */ color: rgb(61, 84, 191);
/* oklch */ color: oklch(49.1% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#8283d3',
    500: '#3d54bf',
    950: '#000000',
  },
}
SCSS
$custom: #3d54bf;
$custom-light: #8283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d54bf",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 229.385,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.16946,
    "h": 269.9
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#3D54BF
secondary
#CABF8E
accent
#C24DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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