#1D2B5D#1D2B5D

#1D2B5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.091 H 268.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1D2B5D
RGBrgb(29, 43, 93)
HSLhsl(227, 52%, 24%)
HSVhsv(227, 69%, 36%)
CMYKcmyk(68.8%, 53.8%, 0%, 63.5%)
CIE-LABlab(19.14, 12.42, -31.75)
CIE-LCHlch(19.14, 34.09, 291.36°)
OKLaboklab(30.75% -0.0019 -0.091)
OKLCHoklch(30.75% 0.091 268.8)
XYZxyz(3.3457, 2.7790, 10.7139)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B5D #5D4F1D
analogous
#1D4B5D #1D2B5D #2F1D5D
triadic
#1D2B5D #5D1D2B #2B5D1D
tetradic
#1D2B5D #5D1D4B #5D4F1D #1D5D2F
square
#1D2B5D #5D1D4B #5D4F1D #1D5D2F
split-complementary
#1D2B5D #5D2F1D #4B5D1D
monochromatic
#070B17 #0E152E #1D2B5D #2C418C #3A56BA

Accessibility & contrast

On white

13.50
#1D2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2B5D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B5D#FFFFFF#000000##FFFFFF
##1D2B5D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#012C5C
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2b5d;
/* rgb */ color: rgb(29, 43, 93);
/* oklch */ color: oklch(30.7% 0.091 268.8);
Tailwind
colors: {
  custom: {
    50: '#61638b',
    500: '#1d2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b5d;
$custom-light: #61638b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b5d",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 226.875,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30746,
    "c": 0.09102,
    "h": 268.8
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#1D2B5D
secondary
#928144
accent
#BC4CDC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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