#1D115E#1D115E

#1D115E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.127 H 279.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#1D115E
RGBrgb(29, 17, 94)
HSLhsl(249, 69%, 22%)
HSVhsv(249, 82%, 37%)
CMYKcmyk(69.1%, 81.9%, 0%, 63.1%)
CIE-LABlab(12.42, 30.58, -43.38)
CIE-LCHlch(12.42, 53.08, 305.18°)
OKLaboklab(25.85% 0.0216 -0.1252)
OKLCHoklch(25.85% 0.127 279.8)
XYZxyz(2.7269, 1.4700, 10.7276)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D115E #525E11
analogous
#112C5E #1D115E #44115E
triadic
#1D115E #5E1D11 #115E1D
tetradic
#1D115E #5E112C #525E11 #115E44
square
#1D115E #5E112C #525E11 #115E44
split-complementary
#1D115E #5E4411 #2C5E11
monochromatic
#08051A #0D082A #1D115E #2D1A92 #3D24C6

Accessibility & contrast

On white

16.23
#1D115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D115E
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D115E#FFFFFF#000000##FFFFFF
##1D115E1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d115e;
/* rgb */ color: rgb(29, 17, 94);
/* oklch */ color: oklch(25.8% 0.127 279.8);
Tailwind
colors: {
  custom: {
    50: '#64518d',
    500: '#1d115e',
    950: '#000000',
  },
}
SCSS
$custom: #1d115e;
$custom-light: #64518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d115e",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 249.351,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25848,
    "c": 0.12709,
    "h": 279.8
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#1D115E
secondary
#879734
accent
#EC3CD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D115E

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

Preview Lab → · Contrast checker → · Palette generator →

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