#1D2E5C#1D2E5C

#1D2E5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.085 H 266.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1D2E5C
RGBrgb(29, 46, 92)
HSLhsl(224, 52%, 24%)
HSVhsv(224, 68%, 36%)
CMYKcmyk(68.5%, 50%, 0%, 63.9%)
CIE-LABlab(19.99, 9.84, -29.71)
CIE-LCHlch(19.99, 31.30, 288.32°)
OKLaboklab(31.38% -0.0054 -0.0849)
OKLCHoklch(31.38% 0.085 266.3)
XYZxyz(3.4148, 2.9876, 10.5198)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E5C #5C4B1D
analogous
#1D4D5C #1D2E5C #2B1D5C
triadic
#1D2E5C #5C1D2E #2E5C1D
tetradic
#1D2E5C #5C1D4D #5C4B1D #1D5C2B
square
#1D2E5C #5C1D4D #5C4B1D #1D5C2B
split-complementary
#1D2E5C #5C2B1D #4D5C1D
monochromatic
#070C17 #0E172D #1D2E5C #2C458B #3A5DB9

Accessibility & contrast

On white

13.14
#1D2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E5C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E5C#FFFFFF#000000##FFFFFF
##1D2E5C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335E
Deuteranopia (green-blind)
#0C2E5B
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2e5c;
/* rgb */ color: rgb(29, 46, 92);
/* oklch */ color: oklch(31.4% 0.085 266.3);
Tailwind
colors: {
  custom: {
    50: '#61668a',
    500: '#1d2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e5c;
$custom-light: #61668a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e5c",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 223.81,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31376,
    "c": 0.08512,
    "h": 266.3
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#1D2E5C
secondary
#917C44
accent
#B54CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1D2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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