#1D5DBB#1D5DBB

#1D5DBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.162 H 258.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#1D5DBB
RGBrgb(29, 93, 187)
HSLhsl(216, 73%, 42%)
HSVhsv(216, 84%, 73%)
CMYKcmyk(84.5%, 50.3%, 0%, 26.7%)
CIE-LABlab(40.70, 15.77, -55.04)
CIE-LCHlch(40.70, 57.26, 285.98°)
OKLaboklab(49.38% -0.0315 -0.1585)
OKLCHoklch(49.38% 0.162 258.8)
XYZxyz(13.3874, 11.6761, 48.5522)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5DBB #BB7B1D
analogous
#1DACBB #1D5DBB #2C1DBB
triadic
#1D5DBB #BB1D5D #5DBB1D
tetradic
#1D5DBB #BB1DAC #BB7B1D #1DBB2C
square
#1D5DBB #BB1DAC #BB7B1D #1DBB2C
split-complementary
#1D5DBB #BB2C1D #ACBB1D
monochromatic
#0D2851 #154386 #1D5DBB #357AE0 #6A9DE8

Accessibility & contrast

On white

6.30
#1D5DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#1D5DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5DBB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5DBB#FFFFFF#000000##FFFFFF
##1D5DBB1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1d5dbb;
/* rgb */ color: rgb(29, 93, 187);
/* oklch */ color: oklch(49.4% 0.162 258.8);
Tailwind
colors: {
  custom: {
    50: '#768ad0',
    500: '#1d5dbb',
    950: '#000000',
  },
}
SCSS
$custom: #1d5dbb;
$custom-light: #768ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5dbb",
  "rgb": {
    "r": 29,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 215.696,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.16165,
    "h": 258.8
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#1D5DBB
secondary
#CEA466
accent
#A538F0
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #1D5DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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