#1D115B#1D115B

#1D115B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.123 H 280.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#1D115B
RGBrgb(29, 17, 91)
HSLhsl(250, 69%, 21%)
HSVhsv(250, 81%, 36%)
CMYKcmyk(68.1%, 81.3%, 0%, 64.3%)
CIE-LABlab(12.07, 29.56, -41.93)
CIE-LCHlch(12.07, 51.30, 305.18°)
OKLaboklab(25.5% 0.0225 -0.121)
OKLCHoklch(25.5% 0.123 280.5)
XYZxyz(2.5949, 1.4172, 10.0323)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D115B #4F5B11
analogous
#112A5B #1D115B #42115B
triadic
#1D115B #5B1D11 #115B1D
tetradic
#1D115B #5B112A #4F5B11 #115B42
square
#1D115B #5B112A #4F5B11 #115B42
split-complementary
#1D115B #5B4211 #2A5B11
monochromatic
#08051A #0D0727 #1D115B #2D1B8F #3E24C2

Accessibility & contrast

On white

16.36
#1D115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D115B
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D115B#FFFFFF#000000##FFFFFF
##1D115B1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d115b;
/* rgb */ color: rgb(29, 17, 91);
/* oklch */ color: oklch(25.5% 0.123 280.5);
Tailwind
colors: {
  custom: {
    50: '#63518a',
    500: '#1d115b',
    950: '#000000',
  },
}
SCSS
$custom: #1d115b;
$custom-light: #63518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d115b",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 249.73,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25503,
    "c": 0.12308,
    "h": 280.5
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#1D115B
secondary
#849434
accent
#EB3CCF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D115B

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

Preview Lab → · Contrast checker → · Palette generator →

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