#1D2E5B#1D2E5B

#1D2E5B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.084 H 266.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1D2E5B
RGBrgb(29, 46, 91)
HSLhsl(224, 52%, 24%)
HSVhsv(224, 68%, 36%)
CMYKcmyk(68.1%, 49.5%, 0%, 64.3%)
CIE-LABlab(19.92, 9.44, -29.16)
CIE-LCHlch(19.92, 30.65, 287.93°)
OKLaboklab(31.3% -0.0056 -0.0833)
OKLCHoklch(31.3% 0.084 266.1)
XYZxyz(3.3714, 2.9702, 10.2911)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E5B #5B4A1D
analogous
#1D4D5B #1D2E5B #2B1D5B
triadic
#1D2E5B #5B1D2E #2E5B1D
tetradic
#1D2E5B #5B1D4D #5B4A1D #1D5B2B
square
#1D2E5B #5B1D4D #5B4A1D #1D5B2B
split-complementary
#1D2E5B #5B2B1D #4D5B1D
monochromatic
#070C17 #0E172D #1D2E5B #2C4589 #3B5DB8

Accessibility & contrast

On white

13.17
#1D2E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E5B
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E5B#FFFFFF#000000##FFFFFF
##1D2E5B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335D
Deuteranopia (green-blind)
#0D2D5A
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2e5b;
/* rgb */ color: rgb(29, 46, 91);
/* oklch */ color: oklch(31.3% 0.084 266.1);
Tailwind
colors: {
  custom: {
    50: '#60668a',
    500: '#1d2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e5b;
$custom-light: #60668a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e5b",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 223.548,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.313,
    "c": 0.08352,
    "h": 266.1
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#1D2E5B
secondary
#907B44
accent
#B44DDB
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #1D2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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