#1D2B4E#1D2B4E

#1D2B4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.067 H 266.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1D2B4E
RGBrgb(29, 43, 78)
HSLhsl(223, 46%, 21%)
HSVhsv(223, 63%, 31%)
CMYKcmyk(62.8%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.09, 6.46, -23.39)
CIE-LCHlch(18.09, 24.27, 285.43°)
OKLaboklab(29.61% -0.0046 -0.0664)
OKLCHoklch(29.61% 0.067 266)
XYZxyz(2.7453, 2.5388, 7.5516)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B4E #4E401D
analogous
#1D434E #1D2B4E #271D4E
triadic
#1D2B4E #4E1D2B #2B4E1D
tetradic
#1D2B4E #4E1D43 #4E401D #1D4E27
square
#1D2B4E #4E1D43 #4E401D #1D4E27
split-complementary
#1D2B4E #4E271D #434E1D
monochromatic
#080C16 #0C1221 #1D2B4E #2E447B #3E5CA7

Accessibility & contrast

On white

13.93
#1D2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B4E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B4E#FFFFFF#000000##FFFFFF
##1D2B4E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F4F
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d2b4e;
/* rgb */ color: rgb(29, 43, 78);
/* oklch */ color: oklch(29.6% 0.067 266.0);
Tailwind
colors: {
  custom: {
    50: '#5e6480',
    500: '#1d2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b4e;
$custom-light: #5e6480;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b4e",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 222.857,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29612,
    "c": 0.06659,
    "h": 266
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#1D2B4E
secondary
#837144
accent
#B052D5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1D2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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