#1D1965#1D1965

#1D1965 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.128 H 276.5°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#1D1965
RGBrgb(29, 25, 101)
HSLhsl(243, 60%, 25%)
HSVhsv(243, 75%, 40%)
CMYKcmyk(71.3%, 75.2%, 0%, 60.4%)
CIE-LABlab(14.93, 28.17, -43.89)
CIE-LCHlch(14.93, 52.15, 302.69°)
OKLaboklab(27.86% 0.0145 -0.1268)
OKLCHoklch(27.86% 0.128 276.5)
XYZxyz(3.2025, 1.8958, 12.5065)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1965 #616519
analogous
#193B65 #1D1965 #431965
triadic
#1D1965 #651D19 #19651D
tetradic
#1D1965 #65193B #616519 #196543
square
#1D1965 #65193B #616519 #196543
split-complementary
#1D1965 #654319 #3B6519
monochromatic
#070619 #0F0D34 #1D1965 #2B2596 #3931C7

Accessibility & contrast

On white

15.23
#1D1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1965
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1965#FFFFFF#000000##FFFFFF
##1D19651.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1965;
/* rgb */ color: rgb(29, 25, 101);
/* oklch */ color: oklch(27.9% 0.128 276.5);
Tailwind
colors: {
  custom: {
    50: '#655692',
    500: '#1d1965',
    950: '#000000',
  },
}
SCSS
$custom: #1d1965;
$custom-light: #655692;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1965",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 243.158,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27863,
    "c": 0.1276,
    "h": 276.5
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#1D1965
secondary
#969B3F
accent
#E344DB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1965

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

Preview Lab → · Contrast checker → · Palette generator →

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