#1D297C#1D297C

#1D297C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.140 H 270.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1D297C
RGBrgb(29, 41, 124)
HSLhsl(232, 62%, 30%)
HSVhsv(232, 77%, 49%)
CMYKcmyk(76.6%, 66.9%, 0%, 51.4%)
CIE-LABlab(21.21, 26.14, -48.46)
CIE-LCHlch(21.21, 55.06, 298.35°)
OKLaboklab(33.12% 0.0005 -0.1401)
OKLCHoklch(33.12% 0.14 270.2)
XYZxyz(4.9365, 3.3018, 19.4420)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D297C #7C701D
analogous
#1D597C #1D297C #401D7C
triadic
#1D297C #7C1D29 #297C1D
tetradic
#1D297C #7C1D59 #7C701D #1D7C40
square
#1D297C #7C1D59 #7C701D #1D7C40
split-complementary
#1D297C #7C401D #597C1D
monochromatic
#060819 #11194A #1D297C #2939AE #4153D3

Accessibility & contrast

On white

12.65
#1D297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D297C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D297C#FFFFFF#000000##FFFFFF
##1D297C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d297c;
/* rgb */ color: rgb(29, 41, 124);
/* oklch */ color: oklch(33.1% 0.140 270.2);
Tailwind
colors: {
  custom: {
    50: '#6962a3',
    500: '#1d297c',
    950: '#000000',
  },
}
SCSS
$custom: #1d297c;
$custom-light: #6962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d297c",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 232.421,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.33123,
    "c": 0.1401,
    "h": 270.2
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#1D297C
secondary
#B0A245
accent
#D143E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D297C

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

Preview Lab → · Contrast checker → · Palette generator →

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