#1D115F#1D115F

#1D115F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.128 H 279.6°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#1D115F
RGBrgb(29, 17, 95)
HSLhsl(249, 70%, 22%)
HSVhsv(249, 82%, 37%)
CMYKcmyk(69.5%, 82.1%, 0%, 62.7%)
CIE-LABlab(12.53, 30.92, -43.86)
CIE-LCHlch(12.53, 53.66, 305.19°)
OKLaboklab(25.96% 0.0214 -0.1266)
OKLCHoklch(25.96% 0.128 279.6)
XYZxyz(2.7720, 1.4881, 10.9654)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D115F #535F11
analogous
#112C5F #1D115F #44115F
triadic
#1D115F #5F1D11 #115F1D
tetradic
#1D115F #5F112C #535F11 #115F44
square
#1D115F #5F112C #535F11 #115F44
split-complementary
#1D115F #5F4411 #2C5F11
monochromatic
#08051A #0D082B #1D115F #2D1A93 #3D24C7

Accessibility & contrast

On white

16.18
#1D115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1D115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D115F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D115F#FFFFFF#000000##FFFFFF
##1D115F1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d115f;
/* rgb */ color: rgb(29, 17, 95);
/* oklch */ color: oklch(26.0% 0.128 279.6);
Tailwind
colors: {
  custom: {
    50: '#64518d',
    500: '#1d115f',
    950: '#000000',
  },
}
SCSS
$custom: #1d115f;
$custom-light: #64518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d115f",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 249.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25964,
    "c": 0.12841,
    "h": 279.6
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#1D115F
secondary
#889834
accent
#EC3BD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D115F

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

Preview Lab → · Contrast checker → · Palette generator →

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