#1D115C#1D115C

#1D115C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.124 H 280.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#1D115C
RGBrgb(29, 17, 92)
HSLhsl(250, 69%, 21%)
HSVhsv(250, 82%, 36%)
CMYKcmyk(68.5%, 81.5%, 0%, 63.9%)
CIE-LABlab(12.19, 29.90, -42.42)
CIE-LCHlch(12.19, 51.90, 305.18°)
OKLaboklab(25.62% 0.0222 -0.1224)
OKLCHoklch(25.62% 0.124 280.3)
XYZxyz(2.6383, 1.4346, 10.2610)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D115C #505C11
analogous
#112B5C #1D115C #43115C
triadic
#1D115C #5C1D11 #115C1D
tetradic
#1D115C #5C112B #505C11 #115C43
square
#1D115C #5C112B #505C11 #115C43
split-complementary
#1D115C #5C4311 #2B5C11
monochromatic
#08051A #0D0728 #1D115C #2D1B90 #3E24C3

Accessibility & contrast

On white

16.32
#1D115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1D115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D115C
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D115C#FFFFFF#000000##FFFFFF
##1D115C1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d115c;
/* rgb */ color: rgb(29, 17, 92);
/* oklch */ color: oklch(25.6% 0.124 280.3);
Tailwind
colors: {
  custom: {
    50: '#63518b',
    500: '#1d115c',
    950: '#000000',
  },
}
SCSS
$custom: #1d115c;
$custom-light: #63518b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d115c",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 249.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25618,
    "c": 0.12442,
    "h": 280.3
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#1D115C
secondary
#859534
accent
#EC3CD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D115C

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

Preview Lab → · Contrast checker → · Palette generator →

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