#1D125A#1D125A

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

Color values

HEX#1D125A
RGBrgb(29, 18, 90)
HSLhsl(249, 67%, 21%)
HSVhsv(249, 80%, 35%)
CMYKcmyk(67.8%, 80%, 0%, 64.7%)
CIE-LABlab(12.17, 28.62, -41.10)
CIE-LCHlch(12.17, 50.08, 304.85°)
OKLaboklab(25.54% 0.022 -0.1186)
OKLCHoklch(25.54% 0.121 280.5)
XYZxyz(2.5679, 1.4318, 9.8119)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D125A #4F5A12
analogous
#122B5A #1D125A #41125A
triadic
#1D125A #5A1D12 #125A1D
tetradic
#1D125A #5A122B #4F5A12 #125A41
square
#1D125A #5A122B #4F5A12 #125A41
split-complementary
#1D125A #5A4112 #2B5A12
monochromatic
#08051A #0D0827 #1D125A #2D1C8D #3E26C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D125A#FFFFFF#000000##FFFFFF
##1D125A1.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)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d125a;
/* rgb */ color: rgb(29, 18, 90);
/* oklch */ color: oklch(25.5% 0.121 280.5);
Tailwind
colors: {
  custom: {
    50: '#635189',
    500: '#1d125a',
    950: '#000000',
  },
}
SCSS
$custom: #1d125a;
$custom-light: #635189;
$custom-dark: #000000;
JSON
{
  "hex": "#1d125a",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 249.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25537,
    "c": 0.12062,
    "h": 280.5
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#1D125A
secondary
#849335
accent
#EA3ECF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D125A

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

Preview Lab → · Contrast checker → · Palette generator →

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