#1D5ABB#1D5ABB

#1D5ABB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.165 H 259.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#1D5ABB
RGBrgb(29, 90, 187)
HSLhsl(217, 73%, 42%)
HSVhsv(217, 84%, 73%)
CMYKcmyk(84.5%, 51.9%, 0%, 26.7%)
CIE-LABlab(39.85, 17.74, -56.42)
CIE-LCHlch(39.85, 59.14, 287.46°)
OKLaboklab(48.73% -0.0295 -0.1626)
OKLCHoklch(48.73% 0.165 259.7)
XYZxyz(13.1292, 11.1598, 48.4661)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5ABB #BB7E1D
analogous
#1DA9BB #1D5ABB #2F1DBB
triadic
#1D5ABB #BB1D5A #5ABB1D
tetradic
#1D5ABB #BB1DA9 #BB7E1D #1DBB2F
square
#1D5ABB #BB1DA9 #BB7E1D #1DBB2F
split-complementary
#1D5ABB #BB2F1D #A9BB1D
monochromatic
#0D2751 #154186 #1D5ABB #3577E0 #6A9BE8

Accessibility & contrast

On white

6.50
#1D5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#1D5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5ABB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5ABB#FFFFFF#000000##FFFFFF
##1D5ABB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1d5abb;
/* rgb */ color: rgb(29, 90, 187);
/* oklch */ color: oklch(48.7% 0.165 259.7);
Tailwind
colors: {
  custom: {
    50: '#7687d0',
    500: '#1d5abb',
    950: '#000000',
  },
}
SCSS
$custom: #1d5abb;
$custom-light: #7687d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5abb",
  "rgb": {
    "r": 29,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 216.835,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.1653,
    "h": 259.7
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#1D5ABB
secondary
#CEA666
accent
#A938F0
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #1D5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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