#1D54B3#1D54B3

#1D54B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.162 H 260.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#1D54B3
RGBrgb(29, 84, 179)
HSLhsl(218, 72%, 41%)
HSVhsv(218, 84%, 70%)
CMYKcmyk(83.8%, 53.1%, 0%, 29.8%)
CIE-LABlab(37.58, 18.55, -55.39)
CIE-LCHlch(37.58, 58.42, 288.52°)
OKLaboklab(46.81% -0.0263 -0.1598)
OKLCHoklch(46.81% 0.162 260.6)
XYZxyz(11.8107, 9.8551, 43.9188)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D54B3 #B37C1D
analogous
#1D9FB3 #1D54B3 #311DB3
triadic
#1D54B3 #B31D54 #54B31D
tetradic
#1D54B3 #B31D9F #B37C1D #1DB331
square
#1D54B3 #B31D9F #B37C1D #1DB331
split-complementary
#1D54B3 #B3311D #9FB31D
monochromatic
#0C234A #143B7E #1D54B3 #306FDD #6494E6

Accessibility & contrast

On white

7.07
#1D54B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1D54B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D54B3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D54B3#FFFFFF#000000##FFFFFF
##1D54B31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0960B6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1d54b3;
/* rgb */ color: rgb(29, 84, 179);
/* oklch */ color: oklch(46.8% 0.162 260.6);
Tailwind
colors: {
  custom: {
    50: '#7483ca',
    500: '#1d54b3',
    950: '#000000',
  },
}
SCSS
$custom: #1d54b3;
$custom-light: #7483ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1d54b3",
  "rgb": {
    "r": 29,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 218,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.16192,
    "h": 260.6
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#1D54B3
secondary
#CBA461
accent
#AC39EF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1D54B3

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

Preview Lab → · Contrast checker → · Palette generator →

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