#1D115A#1D115A

#1D115A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.122 H 280.8°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#1D115A
RGBrgb(29, 17, 90)
HSLhsl(250, 68%, 21%)
HSVhsv(250, 81%, 35%)
CMYKcmyk(67.8%, 81.1%, 0%, 64.7%)
CIE-LABlab(11.96, 29.21, -41.45)
CIE-LCHlch(11.96, 50.71, 305.18°)
OKLaboklab(25.39% 0.0228 -0.1196)
OKLCHoklch(25.39% 0.122 280.8)
XYZxyz(2.5520, 1.4001, 9.8066)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D115A #4E5A11
analogous
#11295A #1D115A #41115A
triadic
#1D115A #5A1D11 #115A1D
tetradic
#1D115A #5A1129 #4E5A11 #115A41
square
#1D115A #5A1129 #4E5A11 #115A41
split-complementary
#1D115A #5A4111 #295A11
monochromatic
#08051A #0C0727 #1D115A #2E1B8D #3E24C1

Accessibility & contrast

On white

16.41
#1D115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1D115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D115A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D115A#FFFFFF#000000##FFFFFF
##1D115A1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d115a;
/* rgb */ color: rgb(29, 17, 90);
/* oklch */ color: oklch(25.4% 0.122 280.8);
Tailwind
colors: {
  custom: {
    50: '#63518a',
    500: '#1d115a',
    950: '#000000',
  },
}
SCSS
$custom: #1d115a;
$custom-light: #63518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d115a",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 249.863,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25389,
    "c": 0.12174,
    "h": 280.8
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#1D115A
secondary
#839334
accent
#EB3DCE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D115A

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

Preview Lab → · Contrast checker → · Palette generator →

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