#1D135F#1D135F

#1D135F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.126 H 279.1°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#1D135F
RGBrgb(29, 19, 95)
HSLhsl(248, 67%, 22%)
HSVhsv(248, 80%, 37%)
CMYKcmyk(69.5%, 80%, 0%, 62.7%)
CIE-LABlab(12.94, 29.76, -43.18)
CIE-LCHlch(12.94, 52.44, 304.57°)
OKLaboklab(26.25% 0.02 -0.1247)
OKLCHoklch(26.25% 0.126 279.1)
XYZxyz(2.8045, 1.5530, 10.9762)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D135F #555F13
analogous
#132F5F #1D135F #43135F
triadic
#1D135F #5F1D13 #135F1D
tetradic
#1D135F #5F132F #555F13 #135F43
square
#1D135F #5F132F #555F13 #135F43
split-complementary
#1D135F #5F4313 #2F5F13
monochromatic
#08051A #0D092C #1D135F #2D1D92 #3C27C5

Accessibility & contrast

On white

16.02
#1D135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1D135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D135F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D135F#FFFFFF#000000##FFFFFF
##1D135F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d135f;
/* rgb */ color: rgb(29, 19, 95);
/* oklch */ color: oklch(26.3% 0.126 279.1);
Tailwind
colors: {
  custom: {
    50: '#64528d',
    500: '#1d135f',
    950: '#000000',
  },
}
SCSS
$custom: #1d135f;
$custom-light: #64528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d135f",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 247.895,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26251,
    "c": 0.12628,
    "h": 279.1
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#1D135F
secondary
#8A9737
accent
#EA3ED3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D135F

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

Preview Lab → · Contrast checker → · Palette generator →

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