#1D309A#1D309A

#1D309A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.172 H 268.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1D309A
RGBrgb(29, 48, 154)
HSLhsl(231, 68%, 36%)
HSVhsv(231, 81%, 60%)
CMYKcmyk(81.2%, 68.8%, 0%, 39.6%)
CIE-LABlab(25.88, 32.91, -59.48)
CIE-LCHlch(25.88, 67.98, 298.96°)
OKLaboklab(37.42% -0.0056 -0.1723)
OKLCHoklch(37.42% 0.172 268.1)
XYZxyz(7.3944, 4.7073, 31.0845)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D309A #9A871D
analogous
#1D6E9A #1D309A #481D9A
triadic
#1D309A #9A1D30 #309A1D
tetradic
#1D309A #9A1D6E #9A871D #1D9A48
square
#1D309A #9A1D6E #9A871D #1D9A48
split-complementary
#1D309A #9A481D #6E9A1D
monochromatic
#0A1033 #132066 #1D309A #2740CE #5368DF

Accessibility & contrast

On white

10.82
#1D309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D309A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D309A#FFFFFF#000000##FFFFFF
##1D309A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d309a;
/* rgb */ color: rgb(29, 48, 154);
/* oklch */ color: oklch(37.4% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#7068b9',
    500: '#1d309a',
    950: '#000000',
  },
}
SCSS
$custom: #1d309a;
$custom-light: #7068b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d309a",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 230.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.17235,
    "h": 268.1
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#1D309A
secondary
#C2B151
accent
#D13DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D309A

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

Preview Lab → · Contrast checker → · Palette generator →

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