#1D51BC#1D51BC

#1D51BC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.178 H 262.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#1D51BC
RGBrgb(29, 81, 188)
HSLhsl(220, 73%, 43%)
HSVhsv(220, 85%, 74%)
CMYKcmyk(84.6%, 56.9%, 0%, 26.3%)
CIE-LABlab(37.44, 24.10, -60.92)
CIE-LCHlch(37.44, 65.51, 291.58°)
OKLaboklab(46.92% -0.0236 -0.1761)
OKLCHoklch(46.92% 0.178 262.4)
XYZxyz(12.5230, 9.7753, 48.7940)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D51BC #BC881D
analogous
#1DA1BC #1D51BC #381DBC
triadic
#1D51BC #BC1D51 #51BC1D
tetradic
#1D51BC #BC1DA1 #BC881D #1DBC38
square
#1D51BC #BC1DA1 #BC881D #1DBC38
split-complementary
#1D51BC #BC381D #A1BC1D
monochromatic
#0D2352 #153A87 #1D51BC #366EE0 #6B94E8

Accessibility & contrast

On white

7.11
#1D51BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1D51BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D51BC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D51BC#FFFFFF#000000##FFFFFF
##1D51BC1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1d51bc;
/* rgb */ color: rgb(29, 81, 188);
/* oklch */ color: oklch(46.9% 0.178 262.4);
Tailwind
colors: {
  custom: {
    50: '#7681d1',
    500: '#1d51bc',
    950: '#000000',
  },
}
SCSS
$custom: #1d51bc;
$custom-light: #7681d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d51bc",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 220.377,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.17764,
    "h": 262.4
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#1D51BC
secondary
#CEAC67
accent
#B438F0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #1D51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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