#1D295F#1D295F

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

Color values

HEX#1D295F
RGBrgb(29, 41, 95)
HSLhsl(229, 53%, 24%)
HSVhsv(229, 69%, 37%)
CMYKcmyk(69.5%, 56.8%, 0%, 62.7%)
CIE-LABlab(18.68, 14.67, -33.81)
CIE-LCHlch(18.68, 36.85, 293.46°)
OKLaboklab(30.45% 0.0004 -0.0971)
OKLCHoklch(30.45% 0.097 270.2)
XYZxyz(3.3645, 2.6730, 11.1629)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D295F #5F531D
analogous
#1D4A5F #1D295F #321D5F
triadic
#1D295F #5F1D29 #295F1D
tetradic
#1D295F #5F1D4A #5F531D #1D5F32
square
#1D295F #5F1D4A #5F531D #1D5F32
split-complementary
#1D295F #5F321D #4A5F1D
monochromatic
#070A17 #0F1530 #1D295F #2B3D8E #3A51BD

Accessibility & contrast

On white

13.68
#1D295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D295F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D295F#FFFFFF#000000##FFFFFF
##1D295F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d295f;
/* rgb */ color: rgb(29, 41, 95);
/* oklch */ color: oklch(30.5% 0.097 270.2);
Tailwind
colors: {
  custom: {
    50: '#62628d',
    500: '#1d295f',
    950: '#000000',
  },
}
SCSS
$custom: #1d295f;
$custom-light: #62628d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d295f",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 229.091,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30453,
    "c": 0.09707,
    "h": 270.2
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#1D295F
secondary
#948544
accent
#C24BDD
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D295F

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

Preview Lab → · Contrast checker → · Palette generator →

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