#1D2D61#1D2D61

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

Color values

HEX#1D2D61
RGBrgb(29, 45, 97)
HSLhsl(226, 54%, 25%)
HSVhsv(226, 70%, 38%)
CMYKcmyk(70.1%, 53.6%, 0%, 62%)
CIE-LABlab(20.05, 12.57, -32.92)
CIE-LCHlch(20.05, 35.24, 290.90°)
OKLaboklab(31.53% -0.0036 -0.0944)
OKLCHoklch(31.53% 0.094 267.8)
XYZxyz(3.6020, 3.0007, 11.6963)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D61 #61511D
analogous
#1D4F61 #1D2D61 #2F1D61
triadic
#1D2D61 #611D2D #2D611D
tetradic
#1D2D61 #611D4F #61511D #1D612F
square
#1D2D61 #611D4F #61511D #1D612F
split-complementary
#1D2D61 #612F1D #4F611D
monochromatic
#070B18 #0F1732 #1D2D61 #2B4390 #3959BF

Accessibility & contrast

On white

13.12
#1D2D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D61
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D61#FFFFFF#000000##FFFFFF
##1D2D611.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103463
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2d61;
/* rgb */ color: rgb(29, 45, 97);
/* oklch */ color: oklch(31.5% 0.094 267.8);
Tailwind
colors: {
  custom: {
    50: '#62658e',
    500: '#1d2d61',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d61;
$custom-light: #62658e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d61",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 225.882,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.09448,
    "h": 267.8
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#1D2D61
secondary
#968344
accent
#BB4ADD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1D2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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