#1D2A68#1D2A68

#1D2A68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.110 H 270.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1D2A68
RGBrgb(29, 42, 104)
HSLhsl(230, 56%, 26%)
HSVhsv(230, 72%, 41%)
CMYKcmyk(72.1%, 59.6%, 0%, 59.2%)
CIE-LABlab(19.71, 17.55, -38.06)
CIE-LCHlch(19.71, 41.91, 294.76°)
OKLaboklab(31.45% 0 -0.1096)
OKLCHoklch(31.45% 0.11 270)
XYZxyz(3.8325, 2.9162, 13.4549)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A68 #685B1D
analogous
#1D4F68 #1D2A68 #351D68
triadic
#1D2A68 #681D2A #2A681D
tetradic
#1D2A68 #681D4F #685B1D #1D6835
square
#1D2A68 #681D4F #685B1D #1D6835
split-complementary
#1D2A68 #68351D #4F681D
monochromatic
#070A18 #101738 #1D2A68 #2A3D98 #3851C7

Accessibility & contrast

On white

13.26
#1D2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D2A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A68
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A68#FFFFFF#000000##FFFFFF
##1D2A681.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2a68;
/* rgb */ color: rgb(29, 42, 104);
/* oklch */ color: oklch(31.4% 0.110 270.0);
Tailwind
colors: {
  custom: {
    50: '#646394',
    500: '#1d2a68',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a68;
$custom-light: #646394;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a68",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 229.6,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3145,
    "c": 0.10956,
    "h": 270
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#1D2A68
secondary
#9D8D44
accent
#C548E0
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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