#1D1273#1D1273

#1D1273 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.5% C 0.153 H 275.6°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#1D1273
RGBrgb(29, 18, 115)
HSLhsl(247, 73%, 26%)
HSVhsv(247, 84%, 45%)
CMYKcmyk(74.8%, 84.3%, 0%, 54.9%)
CIE-LABlab(15.12, 37.07, -52.73)
CIE-LCHlch(15.12, 64.45, 305.11°)
OKLaboklab(28.48% 0.0149 -0.1524)
OKLCHoklch(28.48% 0.153 275.6)
XYZxyz(3.8165, 1.9313, 16.3880)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1273 #687312
analogous
#123773 #1D1273 #4D1273
triadic
#1D1273 #731D12 #12731D
tetradic
#1D1273 #731237 #687312 #12734D
square
#1D1273 #731237 #687312 #12734D
split-complementary
#1D1273 #734D12 #377312
monochromatic
#07041A #100A3E #1D1273 #2A1AA8 #3823DD

Accessibility & contrast

On white

15.15
#1D1273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D1273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1273
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1273#FFFFFF#000000##FFFFFF
##1D12731.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1273;
/* rgb */ color: rgb(29, 18, 115);
/* oklch */ color: oklch(28.5% 0.153 275.6);
Tailwind
colors: {
  custom: {
    50: '#69539c',
    500: '#1d1273',
    950: '#000000',
  },
}
SCSS
$custom: #1d1273;
$custom-light: #69539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1273",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 246.804,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28476,
    "c": 0.15316,
    "h": 275.6
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#1D1273
secondary
#9DAA37
accent
#F038DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1273

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

Preview Lab → · Contrast checker → · Palette generator →

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