#1D1268#1D1268

#1D1268 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.139 H 277.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#1D1268
RGBrgb(29, 18, 104)
HSLhsl(248, 70%, 24%)
HSVhsv(248, 83%, 41%)
CMYKcmyk(72.1%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.79, 33.41, -47.76)
CIE-LCHlch(13.79, 58.29, 304.98°)
OKLaboklab(27.16% 0.0181 -0.138)
OKLCHoklch(27.16% 0.139 277.5)
XYZxyz(3.2209, 1.6930, 13.2511)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1268 #5D6812
analogous
#123268 #1D1268 #481268
triadic
#1D1268 #681D12 #12681D
tetradic
#1D1268 #681232 #5D6812 #126848
square
#1D1268 #681232 #5D6812 #126848
split-complementary
#1D1268 #684812 #326812
monochromatic
#07051A #0E0934 #1D1268 #2C1B9C #3A24D0

Accessibility & contrast

On white

15.69
#1D1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1D1268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1268
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1268#FFFFFF#000000##FFFFFF
##1D12681.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d1268;
/* rgb */ color: rgb(29, 18, 104);
/* oklch */ color: oklch(27.2% 0.139 277.5);
Tailwind
colors: {
  custom: {
    50: '#665294',
    500: '#1d1268',
    950: '#000000',
  },
}
SCSS
$custom: #1d1268;
$custom-light: #665294;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1268",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 247.674,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27155,
    "c": 0.13918,
    "h": 277.5
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#1D1268
secondary
#92A036
accent
#ED3BD6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1D1268

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

Preview Lab → · Contrast checker → · Palette generator →

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