#1D125B#1D125B

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

Color values

HEX#1D125B
RGBrgb(29, 18, 91)
HSLhsl(249, 67%, 21%)
HSVhsv(249, 80%, 36%)
CMYKcmyk(68.1%, 80.2%, 0%, 64.3%)
CIE-LABlab(12.28, 28.96, -41.59)
CIE-LCHlch(12.28, 50.68, 304.85°)
OKLaboklab(25.65% 0.0218 -0.12)
OKLCHoklch(25.65% 0.122 280.3)
XYZxyz(2.6107, 1.4490, 10.0376)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D125B #505B12
analogous
#122C5B #1D125B #42125B
triadic
#1D125B #5B1D12 #125B1D
tetradic
#1D125B #5B122C #505B12 #125B42
square
#1D125B #5B122C #505B12 #125B42
split-complementary
#1D125B #5B4212 #2C5B12
monochromatic
#08051A #0D0828 #1D125B #2D1C8E #3E26C1

Accessibility & contrast

On white

16.28
#1D125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D125B
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D125B#FFFFFF#000000##FFFFFF
##1D125B1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d125b;
/* rgb */ color: rgb(29, 18, 91);
/* oklch */ color: oklch(25.7% 0.122 280.3);
Tailwind
colors: {
  custom: {
    50: '#63518a',
    500: '#1d125b',
    950: '#000000',
  },
}
SCSS
$custom: #1d125b;
$custom-light: #63518a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d125b",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 249.041,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2565,
    "c": 0.12198,
    "h": 280.3
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#1D125B
secondary
#859335
accent
#EA3ED0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D125B

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

Preview Lab → · Contrast checker → · Palette generator →

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