#1D3097#1D3097

#1D3097 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.168 H 268.2°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#1D3097
RGBrgb(29, 48, 151)
HSLhsl(231, 68%, 35%)
HSVhsv(231, 81%, 59%)
CMYKcmyk(80.8%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.59, 31.78, -58.12)
CIE-LCHlch(25.59, 66.25, 298.67°)
OKLaboklab(37.12% -0.0053 -0.1683)
OKLCHoklch(37.12% 0.168 268.2)
XYZxyz(7.1476, 4.6087, 29.7850)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3097 #97841D
analogous
#1D6D97 #1D3097 #471D97
triadic
#1D3097 #971D30 #30971D
tetradic
#1D3097 #971D6D #97841D #1D9747
square
#1D3097 #971D6D #97841D #1D9747
split-complementary
#1D3097 #97471D #6D971D
monochromatic
#090F30 #132064 #1D3097 #2740CA #5167DE

Accessibility & contrast

On white

10.93
#1D3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1D3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3097
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3097#FFFFFF#000000##FFFFFF
##1D30971.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3097;
/* rgb */ color: rgb(29, 48, 151);
/* oklch */ color: oklch(37.1% 0.168 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f68b7',
    500: '#1d3097',
    950: '#000000',
  },
}
SCSS
$custom: #1d3097;
$custom-light: #6f68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3097",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 230.656,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37118,
    "c": 0.1684,
    "h": 268.2
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#1D3097
secondary
#C0AF4F
accent
#D03DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D3097

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

Preview Lab → · Contrast checker → · Palette generator →

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