#1D54A6#1D54A6

#1D54A6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.144 H 258.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#1D54A6
RGBrgb(29, 84, 166)
HSLhsl(216, 70%, 38%)
HSVhsv(216, 83%, 65%)
CMYKcmyk(82.5%, 49.4%, 0%, 34.9%)
CIE-LABlab(36.66, 13.38, -49.18)
CIE-LCHlch(36.66, 50.96, 285.22°)
OKLaboklab(45.81% -0.0281 -0.1415)
OKLCHoklch(45.81% 0.144 258.8)
XYZxyz(10.5574, 9.3537, 37.3180)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D54A6 #A66F1D
analogous
#1D98A6 #1D54A6 #2A1DA6
triadic
#1D54A6 #A61D54 #54A61D
tetradic
#1D54A6 #A61D98 #A66F1D #1DA62A
square
#1D54A6 #A61D98 #A66F1D #1DA62A
split-complementary
#1D54A6 #A62A1D #98A61D
monochromatic
#0B1F3E #143A72 #1D54A6 #276FD9 #5B91E2

Accessibility & contrast

On white

7.31
#1D54A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1D54A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D54A6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D54A6#FFFFFF#000000##FFFFFF
##1D54A61.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1d54a6;
/* rgb */ color: rgb(29, 84, 166);
/* oklch */ color: oklch(45.8% 0.144 258.8);
Tailwind
colors: {
  custom: {
    50: '#7183c1',
    500: '#1d54a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d54a6;
$custom-light: #7183c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d54a6",
  "rgb": {
    "r": 29,
    "g": 84,
    "b": 166
  },
  "hsl": {
    "h": 215.912,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.14424,
    "h": 258.8
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#1D54A6
secondary
#C69A59
accent
#A53BED
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D54A6

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

Preview Lab → · Contrast checker → · Palette generator →

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