#1D2F61#1D2F61

#1D2F61 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.092 H 266.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#1D2F61
RGBrgb(29, 47, 97)
HSLhsl(224, 54%, 25%)
HSVhsv(224, 70%, 38%)
CMYKcmyk(70.1%, 51.5%, 0%, 62%)
CIE-LABlab(20.66, 11.13, -31.93)
CIE-LCHlch(20.66, 33.82, 289.21°)
OKLaboklab(32% -0.0058 -0.0915)
OKLCHoklch(32% 0.092 266.4)
XYZxyz(3.6801, 3.1570, 11.7224)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F61 #614F1D
analogous
#1D5161 #1D2F61 #2D1D61
triadic
#1D2F61 #611D2F #2F611D
tetradic
#1D2F61 #611D51 #614F1D #1D612D
square
#1D2F61 #611D51 #614F1D #1D612D
split-complementary
#1D2F61 #612D1D #51611D
monochromatic
#070B18 #0F1832 #1D2F61 #2B4690 #395DBF

Accessibility & contrast

On white

12.87
#1D2F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D2F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F61
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F61#FFFFFF#000000##FFFFFF
##1D2F611.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#062F60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2f61;
/* rgb */ color: rgb(29, 47, 97);
/* oklch */ color: oklch(32.0% 0.092 266.4);
Tailwind
colors: {
  custom: {
    50: '#62678e',
    500: '#1d2f61',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f61;
$custom-light: #62678e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f61",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 224.118,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32001,
    "c": 0.09164,
    "h": 266.4
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#1D2F61
secondary
#968044
accent
#B64ADD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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