#1D2E62#1D2E62

#1D2E62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.095 H 267.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1D2E62
RGBrgb(29, 46, 98)
HSLhsl(225, 54%, 25%)
HSVhsv(225, 70%, 38%)
CMYKcmyk(70.4%, 53.1%, 0%, 61.6%)
CIE-LABlab(20.43, 12.25, -32.97)
CIE-LCHlch(20.43, 35.17, 290.39°)
OKLaboklab(31.85% -0.0045 -0.0945)
OKLCHoklch(31.85% 0.095 267.3)
XYZxyz(3.6875, 3.0967, 11.9563)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E62 #62511D
analogous
#1D5162 #1D2E62 #2E1D62
triadic
#1D2E62 #621D2E #2E621D
tetradic
#1D2E62 #621D51 #62511D #1D622E
square
#1D2E62 #621D51 #62511D #1D622E
split-complementary
#1D2E62 #622E1D #51621D
monochromatic
#070B18 #0F1833 #1D2E62 #2B4491 #395AC0

Accessibility & contrast

On white

12.97
#1D2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E62
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E62#FFFFFF#000000##FFFFFF
##1D2E621.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113564
Deuteranopia (green-blind)
#012E61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2e62;
/* rgb */ color: rgb(29, 46, 98);
/* oklch */ color: oklch(31.8% 0.095 267.3);
Tailwind
colors: {
  custom: {
    50: '#62668f',
    500: '#1d2e62',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e62;
$custom-light: #62668f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e62",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 225.217,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31845,
    "c": 0.09463,
    "h": 267.3
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#1D2E62
secondary
#978344
accent
#B94ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1D2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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