#1D2965#1D2965

#1D2965 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.106 H 270.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1D2965
RGBrgb(29, 41, 101)
HSLhsl(230, 55%, 25%)
HSVhsv(230, 71%, 40%)
CMYKcmyk(71.3%, 59.4%, 0%, 60.4%)
CIE-LABlab(19.17, 17.07, -36.97)
CIE-LCHlch(19.17, 40.72, 294.79°)
OKLaboklab(30.97% 0.0008 -0.1064)
OKLCHoklch(30.97% 0.106 270.4)
XYZxyz(3.6478, 2.7863, 12.6550)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2965 #65591D
analogous
#1D4D65 #1D2965 #351D65
triadic
#1D2965 #651D29 #29651D
tetradic
#1D2965 #651D4D #65591D #1D6535
square
#1D2965 #651D4D #65591D #1D6535
split-complementary
#1D2965 #65351D #4D651D
monochromatic
#070A18 #0F1635 #1D2965 #2B3C95 #3850C4

Accessibility & contrast

On white

13.48
#1D2965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2965
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2965#FFFFFF#000000##FFFFFF
##1D29651.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2965;
/* rgb */ color: rgb(29, 41, 101);
/* oklch */ color: oklch(31.0% 0.106 270.4);
Tailwind
colors: {
  custom: {
    50: '#636291',
    500: '#1d2965',
    950: '#000000',
  },
}
SCSS
$custom: #1d2965;
$custom-light: #636291;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2965",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 230,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30969,
    "c": 0.10638,
    "h": 270.4
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#1D2965
secondary
#9A8C44
accent
#C649DF
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D2965

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

Preview Lab → · Contrast checker → · Palette generator →

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