#1D2D7C#1D2D7C

#1D2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.135 H 269.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1D2D7C
RGBrgb(29, 45, 124)
HSLhsl(230, 62%, 30%)
HSVhsv(230, 77%, 49%)
CMYKcmyk(76.6%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.28, 23.38, -46.72)
CIE-LCHlch(22.28, 52.25, 296.58°)
OKLaboklab(33.91% -0.0023 -0.135)
OKLCHoklch(33.91% 0.135 269)
XYZxyz(5.0819, 3.5927, 19.4905)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D7C #7C6C1D
analogous
#1D5C7C #1D2D7C #3D1D7C
triadic
#1D2D7C #7C1D2D #2D7C1D
tetradic
#1D2D7C #7C1D5C #7C6C1D #1D7C3D
square
#1D2D7C #7C1D5C #7C6C1D #1D7C3D
split-complementary
#1D2D7C #7C3D1D #5C7C1D
monochromatic
#060919 #111B4A #1D2D7C #293FAE #4159D3

Accessibility & contrast

On white

12.22
#1D2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D7C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D7C#FFFFFF#000000##FFFFFF
##1D2D7C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2d7c;
/* rgb */ color: rgb(29, 45, 124);
/* oklch */ color: oklch(33.9% 0.135 269.0);
Tailwind
colors: {
  custom: {
    50: '#6865a3',
    500: '#1d2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d7c;
$custom-light: #6865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d7c",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 229.895,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.13499,
    "h": 269
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#1D2D7C
secondary
#B09E45
accent
#CA43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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