#1D2A4E#1D2A4E

#1D2A4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.068 H 267.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#1D2A4E
RGBrgb(29, 42, 78)
HSLhsl(224, 46%, 21%)
HSVhsv(224, 63%, 31%)
CMYKcmyk(62.8%, 46.2%, 0%, 69.4%)
CIE-LABlab(17.77, 7.18, -23.91)
CIE-LCHlch(17.77, 24.96, 286.72°)
OKLaboklab(29.36% -0.0033 -0.0679)
OKLCHoklch(29.36% 0.068 267.2)
XYZxyz(2.7093, 2.4670, 7.5397)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A4E #4E411D
analogous
#1D424E #1D2A4E #281D4E
triadic
#1D2A4E #4E1D2A #2A4E1D
tetradic
#1D2A4E #4E1D42 #4E411D #1D4E28
square
#1D2A4E #4E1D42 #4E411D #1D4E28
split-complementary
#1D2A4E #4E281D #424E1D
monochromatic
#080C16 #0C1221 #1D2A4E #2E427B #3E5AA7

Accessibility & contrast

On white

14.06
#1D2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A4E
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A4E#FFFFFF#000000##FFFFFF
##1D2A4E1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E4F
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d2a4e;
/* rgb */ color: rgb(29, 42, 78);
/* oklch */ color: oklch(29.4% 0.068 267.2);
Tailwind
colors: {
  custom: {
    50: '#5e6380',
    500: '#1d2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a4e;
$custom-light: #5e6380;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a4e",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 224.082,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29362,
    "c": 0.06803,
    "h": 267.2
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#1D2A4E
secondary
#837244
accent
#B352D5
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1D2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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