#1D2D62#1D2D62

#1D2D62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.096 H 267.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1D2D62
RGBrgb(29, 45, 98)
HSLhsl(226, 54%, 25%)
HSVhsv(226, 70%, 38%)
CMYKcmyk(70.4%, 54.1%, 0%, 61.6%)
CIE-LABlab(20.12, 12.98, -33.46)
CIE-LCHlch(20.12, 35.89, 291.20°)
OKLaboklab(31.61% -0.0035 -0.096)
OKLCHoklch(31.61% 0.096 267.9)
XYZxyz(3.6489, 3.0195, 11.9434)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D62 #62521D
analogous
#1D5062 #1D2D62 #301D62
triadic
#1D2D62 #621D2D #2D621D
tetradic
#1D2D62 #621D50 #62521D #1D6230
square
#1D2D62 #621D50 #62521D #1D6230
split-complementary
#1D2D62 #62301D #50621D
monochromatic
#070B18 #0F1733 #1D2D62 #2B4391 #3958C0

Accessibility & contrast

On white

13.09
#1D2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D62
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D62#FFFFFF#000000##FFFFFF
##1D2D621.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3464
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2d62;
/* rgb */ color: rgb(29, 45, 98);
/* oklch */ color: oklch(31.6% 0.096 267.9);
Tailwind
colors: {
  custom: {
    50: '#62658f',
    500: '#1d2d62',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d62;
$custom-light: #62658f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d62",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 226.087,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31614,
    "c": 0.09604,
    "h": 267.9
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#1D2D62
secondary
#978444
accent
#BB4ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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