#1D185E#1D185E

#1D185E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.9% C 0.119 H 278.0°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#1D185E
RGBrgb(29, 24, 94)
HSLhsl(244, 59%, 23%)
HSVhsv(244, 74%, 37%)
CMYKcmyk(69.1%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.96, 26.27, -40.84)
CIE-LCHlch(13.96, 48.56, 302.75°)
OKLaboklab(26.94% 0.0165 -0.1179)
OKLCHoklch(26.94% 0.119 278)
XYZxyz(2.8531, 1.7224, 10.7696)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D185E #595E18
analogous
#18365E #1D185E #40185E
triadic
#1D185E #5E1D18 #185E1D
tetradic
#1D185E #5E1836 #595E18 #185E40
square
#1D185E #5E1836 #595E18 #185E40
split-complementary
#1D185E #5E4018 #365E18
monochromatic
#080618 #0E0C2D #1D185E #2C248F #3B31C0

Accessibility & contrast

On white

15.62
#1D185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1D185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D185E
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D185E#FFFFFF#000000##FFFFFF
##1D185E1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d185e;
/* rgb */ color: rgb(29, 24, 94);
/* oklch */ color: oklch(26.9% 0.119 278.0);
Tailwind
colors: {
  custom: {
    50: '#63558c',
    500: '#1d185e',
    950: '#000000',
  },
}
SCSS
$custom: #1d185e;
$custom-light: #63558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d185e",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 244.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26942,
    "c": 0.11902,
    "h": 278
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#1D185E
secondary
#8E943D
accent
#E345D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1D185E

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

Preview Lab → · Contrast checker → · Palette generator →

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