#1D2F62#1D2F62

#1D2F62 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.093 H 266.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2F62
RGBrgb(29, 47, 98)
HSLhsl(224, 54%, 25%)
HSVhsv(224, 70%, 38%)
CMYKcmyk(70.4%, 52%, 0%, 61.6%)
CIE-LABlab(20.73, 11.53, -32.47)
CIE-LCHlch(20.73, 34.46, 289.55°)
OKLaboklab(32.08% -0.0056 -0.093)
OKLCHoklch(32.08% 0.093 266.5)
XYZxyz(3.7271, 3.1757, 11.9695)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F62 #62501D
analogous
#1D5262 #1D2F62 #2E1D62
triadic
#1D2F62 #621D2F #2F621D
tetradic
#1D2F62 #621D52 #62501D #1D622E
square
#1D2F62 #621D52 #62501D #1D622E
split-complementary
#1D2F62 #622E1D #52621D
monochromatic
#070B18 #0F1833 #1D2F62 #2B4691 #395CC0

Accessibility & contrast

On white

12.84
#1D2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F62
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F62#FFFFFF#000000##FFFFFF
##1D2F621.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#042F61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2f62;
/* rgb */ color: rgb(29, 47, 98);
/* oklch */ color: oklch(32.1% 0.093 266.5);
Tailwind
colors: {
  custom: {
    50: '#62678f',
    500: '#1d2f62',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f62;
$custom-light: #62678f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f62",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 224.348,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32079,
    "c": 0.09322,
    "h": 266.5
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#1D2F62
secondary
#978144
accent
#B74ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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