#1D2D60#1D2D60

#1D2D60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.093 H 267.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1D2D60
RGBrgb(29, 45, 96)
HSLhsl(226, 54%, 25%)
HSVhsv(226, 70%, 38%)
CMYKcmyk(69.8%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.97, 12.17, -32.39)
CIE-LCHlch(19.97, 34.60, 290.60°)
OKLaboklab(31.45% -0.0037 -0.0928)
OKLCHoklch(31.45% 0.093 267.7)
XYZxyz(3.5557, 2.9822, 11.4523)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D60 #60501D
analogous
#1D4F60 #1D2D60 #2F1D60
triadic
#1D2D60 #601D2D #2D601D
tetradic
#1D2D60 #601D4F #60501D #1D602F
square
#1D2D60 #601D4F #60501D #1D602F
split-complementary
#1D2D60 #602F1D #4F601D
monochromatic
#070B18 #0F1731 #1D2D60 #2B438F #3959BE

Accessibility & contrast

On white

13.15
#1D2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D60
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D60#FFFFFF#000000##FFFFFF
##1D2D601.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113362
Deuteranopia (green-blind)
#012D5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2d60;
/* rgb */ color: rgb(29, 45, 96);
/* oklch */ color: oklch(31.5% 0.093 267.7);
Tailwind
colors: {
  custom: {
    50: '#61658d',
    500: '#1d2d60',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d60;
$custom-light: #61658d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d60",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 225.672,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31452,
    "c": 0.09291,
    "h": 267.7
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#1D2D60
secondary
#958244
accent
#BA4BDD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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