#1D305E#1D305E

#1D305E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.086 H 265.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1D305E
RGBrgb(29, 48, 94)
HSLhsl(222, 53%, 24%)
HSVhsv(222, 69%, 37%)
CMYKcmyk(69.1%, 48.9%, 0%, 63.1%)
CIE-LABlab(20.76, 9.20, -29.80)
CIE-LCHlch(20.76, 31.19, 287.15°)
OKLaboklab(32.01% -0.0074 -0.0852)
OKLCHoklch(32.01% 0.086 265.1)
XYZxyz(3.5833, 3.1829, 11.0130)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D305E #5E4B1D
analogous
#1D515E #1D305E #2B1D5E
triadic
#1D305E #5E1D30 #305E1D
tetradic
#1D305E #5E1D51 #5E4B1D #1D5E2B
square
#1D305E #5E1D51 #5E4B1D #1D5E2B
split-complementary
#1D305E #5E2B1D #515E1D
monochromatic
#070C17 #0F182F #1D305E #2B488D #3A60BC

Accessibility & contrast

On white

12.83
#1D305E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D305E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D305E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D305E#FFFFFF#000000##FFFFFF
##1D305E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#0E2F5D
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d305e;
/* rgb */ color: rgb(29, 48, 94);
/* oklch */ color: oklch(32.0% 0.086 265.1);
Tailwind
colors: {
  custom: {
    50: '#61678c',
    500: '#1d305e',
    950: '#000000',
  },
}
SCSS
$custom: #1d305e;
$custom-light: #61678c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d305e",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 222.462,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32009,
    "c": 0.0855,
    "h": 265.1
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#1D305E
secondary
#937C44
accent
#B24CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1D305E

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

Preview Lab → · Contrast checker → · Palette generator →

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