#1D305C#1D305C

#1D305C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.082 H 264.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1D305C
RGBrgb(29, 48, 92)
HSLhsl(222, 52%, 24%)
HSVhsv(222, 68%, 36%)
CMYKcmyk(68.5%, 47.8%, 0%, 63.9%)
CIE-LABlab(20.63, 8.40, -28.70)
CIE-LCHlch(20.63, 29.91, 286.30°)
OKLaboklab(31.86% -0.0077 -0.0819)
OKLCHoklch(31.86% 0.082 264.6)
XYZxyz(3.4947, 3.1475, 10.5465)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D305C #5C491D
analogous
#1D4F5C #1D305C #291D5C
triadic
#1D305C #5C1D30 #305C1D
tetradic
#1D305C #5C1D4F #5C491D #1D5C29
square
#1D305C #5C1D4F #5C491D #1D5C29
split-complementary
#1D305C #5C291D #4F5C1D
monochromatic
#070C17 #0E182D #1D305C #2C488B #3A61B9

Accessibility & contrast

On white

12.89
#1D305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D305C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D305C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D305C#FFFFFF#000000##FFFFFF
##1D305C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355E
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d305c;
/* rgb */ color: rgb(29, 48, 92);
/* oklch */ color: oklch(31.9% 0.082 264.6);
Tailwind
colors: {
  custom: {
    50: '#60678a',
    500: '#1d305c',
    950: '#000000',
  },
}
SCSS
$custom: #1d305c;
$custom-light: #60678a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d305c",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 221.905,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3186,
    "c": 0.08231,
    "h": 264.6
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#1D305C
secondary
#917A44
accent
#B04CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1D305C

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

Preview Lab → · Contrast checker → · Palette generator →

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