#1D1265#1D1265

#1D1265 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.135 H 278.1°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#1D1265
RGBrgb(29, 18, 101)
HSLhsl(248, 70%, 23%)
HSVhsv(248, 82%, 40%)
CMYKcmyk(71.3%, 82.2%, 0%, 60.4%)
CIE-LABlab(13.43, 32.40, -46.36)
CIE-LCHlch(13.43, 56.56, 304.95°)
OKLaboklab(26.8% 0.019 -0.1339)
OKLCHoklch(26.8% 0.135 278.1)
XYZxyz(3.0712, 1.6331, 12.4628)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1265 #5A6512
analogous
#123065 #1D1265 #461265
triadic
#1D1265 #651D12 #12651D
tetradic
#1D1265 #651230 #5A6512 #126546
square
#1D1265 #651230 #5A6512 #126546
split-complementary
#1D1265 #654612 #306512
monochromatic
#07051A #0E0931 #1D1265 #2C1B99 #3B25CD

Accessibility & contrast

On white

15.83
#1D1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1265
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1265#FFFFFF#000000##FFFFFF
##1D12651.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d1265;
/* rgb */ color: rgb(29, 18, 101);
/* oklch */ color: oklch(26.8% 0.135 278.1);
Tailwind
colors: {
  custom: {
    50: '#655292',
    500: '#1d1265',
    950: '#000000',
  },
}
SCSS
$custom: #1d1265;
$custom-light: #655292;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1265",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 247.952,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26801,
    "c": 0.13528,
    "h": 278.1
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#1D1265
secondary
#8F9D36
accent
#ED3BD5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1265

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

Preview Lab → · Contrast checker → · Palette generator →

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