#1D2E5A#1D2E5A

#1D2E5A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.082 H 265.9°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1D2E5A
RGBrgb(29, 46, 90)
HSLhsl(223, 51%, 23%)
HSVhsv(223, 68%, 35%)
CMYKcmyk(67.8%, 48.9%, 0%, 64.7%)
CIE-LABlab(19.86, 9.04, -28.61)
CIE-LCHlch(19.86, 30.01, 287.53°)
OKLaboklab(31.23% -0.0058 -0.0817)
OKLCHoklch(31.23% 0.082 265.9)
XYZxyz(3.3285, 2.9531, 10.0655)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E5A #5A491D
analogous
#1D4C5A #1D2E5A #2A1D5A
triadic
#1D2E5A #5A1D2E #2E5A1D
tetradic
#1D2E5A #5A1D4C #5A491D #1D5A2A
square
#1D2E5A #5A1D4C #5A491D #1D5A2A
split-complementary
#1D2E5A #5A2A1D #4C5A1D
monochromatic
#070C17 #0E162C #1D2E5A #2C4688 #3B5DB7

Accessibility & contrast

On white

13.20
#1D2E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D2E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E5A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E5A#FFFFFF#000000##FFFFFF
##1D2E5A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335C
Deuteranopia (green-blind)
#0F2D59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2e5a;
/* rgb */ color: rgb(29, 46, 90);
/* oklch */ color: oklch(31.2% 0.082 265.9);
Tailwind
colors: {
  custom: {
    50: '#606689',
    500: '#1d2e5a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e5a;
$custom-light: #606689;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e5a",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 223.279,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31225,
    "c": 0.08192,
    "h": 265.9
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#1D2E5A
secondary
#8F7A44
accent
#B34DDB
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1D2E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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