#1D488C#1D488C

#1D488C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.123 H 259.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1D488C
RGBrgb(29, 72, 140)
HSLhsl(217, 66%, 33%)
HSVhsv(217, 79%, 55%)
CMYKcmyk(79.3%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.32, 11.02, -42.04)
CIE-LCHlch(31.32, 43.46, 284.69°)
OKLaboklab(41.14% -0.0226 -0.1207)
OKLCHoklch(41.14% 0.123 259.4)
XYZxyz(7.5560, 6.7885, 25.7179)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D488C #8C611D
analogous
#1D7F8C #1D488C #2A1D8C
triadic
#1D488C #8C1D48 #488C1D
tetradic
#1D488C #8C1D7F #8C611D #1D8C2A
square
#1D488C #8C1D7F #8C611D #1D8C2A
split-complementary
#1D488C #8C2A1D #7F8C1D
monochromatic
#081427 #122E59 #1D488C #2862BF #4A82D9

Accessibility & contrast

On white

8.91
#1D488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1D488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D488C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D488C#FFFFFF#000000##FFFFFF
##1D488C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d488c;
/* rgb */ color: rgb(29, 72, 140);
/* oklch */ color: oklch(41.1% 0.123 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b7aae',
    500: '#1d488c',
    950: '#000000',
  },
}
SCSS
$custom: #1d488c;
$custom-light: #6b7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d488c",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 216.757,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.12283,
    "h": 259.4
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#1D488C
secondary
#BC8F49
accent
#A73FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D488C

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

Preview Lab → · Contrast checker → · Palette generator →

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