#1D185A#1D185A

#1D185A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.113 H 278.7°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1D185A
RGBrgb(29, 24, 90)
HSLhsl(245, 58%, 22%)
HSVhsv(245, 73%, 35%)
CMYKcmyk(67.8%, 73.3%, 0%, 64.7%)
CIE-LABlab(13.55, 24.79, -38.84)
CIE-LCHlch(13.55, 46.08, 302.56°)
OKLaboklab(26.52% 0.0172 -0.112)
OKLCHoklch(26.52% 0.113 278.7)
XYZxyz(2.6782, 1.6525, 9.8487)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D185A #555A18
analogous
#18345A #1D185A #3E185A
triadic
#1D185A #5A1D18 #185A1D
tetradic
#1D185A #5A1834 #555A18 #185A3E
square
#1D185A #5A1834 #555A18 #185A3E
split-complementary
#1D185A #5A3E18 #345A18
monochromatic
#080618 #0D0B2A #1D185A #2D258A #3C32BB

Accessibility & contrast

On white

15.78
#1D185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D185A
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D185A#FFFFFF#000000##FFFFFF
##1D185A1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d185a;
/* rgb */ color: rgb(29, 24, 90);
/* oklch */ color: oklch(26.5% 0.113 278.7);
Tailwind
colors: {
  custom: {
    50: '#625589',
    500: '#1d185a',
    950: '#000000',
  },
}
SCSS
$custom: #1d185a;
$custom-light: #625589;
$custom-dark: #000000;
JSON
{
  "hex": "#1d185a",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 244.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2652,
    "c": 0.1133,
    "h": 278.7
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#1D185A
secondary
#8A913D
accent
#E147D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1D185A

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

Preview Lab → · Contrast checker → · Palette generator →

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