#1D295E#1D295E

#1D295E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.095 H 270.2°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#1D295E
RGBrgb(29, 41, 94)
HSLhsl(229, 53%, 24%)
HSVhsv(229, 69%, 37%)
CMYKcmyk(69.1%, 56.4%, 0%, 63.1%)
CIE-LABlab(18.61, 14.27, -33.27)
CIE-LCHlch(18.61, 36.20, 293.22°)
OKLaboklab(30.37% 0.0003 -0.0955)
OKLCHoklch(30.37% 0.095 270.2)
XYZxyz(3.3193, 2.6549, 10.9250)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D295E #5E521D
analogous
#1D4A5E #1D295E #321D5E
triadic
#1D295E #5E1D29 #295E1D
tetradic
#1D295E #5E1D4A #5E521D #1D5E32
square
#1D295E #5E1D4A #5E521D #1D5E32
split-complementary
#1D295E #5E321D #4A5E1D
monochromatic
#070A17 #0F152F #1D295E #2B3D8D #3A52BC

Accessibility & contrast

On white

13.72
#1D295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D295E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D295E#FFFFFF#000000##FFFFFF
##1D295E1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083060
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d295e;
/* rgb */ color: rgb(29, 41, 94);
/* oklch */ color: oklch(30.4% 0.095 270.2);
Tailwind
colors: {
  custom: {
    50: '#61628c',
    500: '#1d295e',
    950: '#000000',
  },
}
SCSS
$custom: #1d295e;
$custom-light: #61628c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d295e",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 228.923,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30369,
    "c": 0.09549,
    "h": 270.2
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#1D295E
secondary
#938444
accent
#C24CDC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D295E

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

Preview Lab → · Contrast checker → · Palette generator →

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