#1D54BC#1D54BC

#1D54BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.174 H 261.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#1D54BC
RGBrgb(29, 84, 188)
HSLhsl(219, 73%, 43%)
HSVhsv(219, 85%, 74%)
CMYKcmyk(84.6%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.25, 22.10, -59.59)
CIE-LCHlch(38.25, 63.56, 290.35°)
OKLaboklab(47.54% -0.0254 -0.1721)
OKLCHoklch(47.54% 0.174 261.6)
XYZxyz(12.7508, 10.2311, 48.8700)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D54BC #BC851D
analogous
#1DA4BC #1D54BC #351DBC
triadic
#1D54BC #BC1D54 #54BC1D
tetradic
#1D54BC #BC1DA4 #BC851D #1DBC35
square
#1D54BC #BC1DA4 #BC851D #1DBC35
split-complementary
#1D54BC #BC351D #A4BC1D
monochromatic
#0D2552 #153C87 #1D54BC #3671E0 #6B96E8

Accessibility & contrast

On white

6.89
#1D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1D54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D54BC#FFFFFF#000000##FFFFFF
##1D54BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1d54bc;
/* rgb */ color: rgb(29, 84, 188);
/* oklch */ color: oklch(47.5% 0.174 261.6);
Tailwind
colors: {
  custom: {
    50: '#7683d1',
    500: '#1d54bc',
    950: '#000000',
  },
}
SCSS
$custom: #1d54bc;
$custom-light: #7683d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d54bc",
  "rgb": {
    "r": 29,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 219.245,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.17397,
    "h": 261.6
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#1D54BC
secondary
#CEAA67
accent
#B038F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #1D54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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