#1D309F#1D309F

#1D309F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.179 H 268.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#1D309F
RGBrgb(29, 48, 159)
HSLhsl(231, 69%, 37%)
HSVhsv(231, 82%, 62%)
CMYKcmyk(81.8%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.38, 34.78, -61.71)
CIE-LCHlch(26.38, 70.83, 299.41°)
OKLaboklab(37.94% -0.006 -0.1788)
OKLCHoklch(37.94% 0.179 268.1)
XYZxyz(7.8195, 4.8774, 33.3235)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D309F #9F8C1D
analogous
#1D719F #1D309F #4B1D9F
triadic
#1D309F #9F1D30 #309F1D
tetradic
#1D309F #9F1D71 #9F8C1D #1D9F4B
square
#1D309F #9F1D71 #9F8C1D #1D9F4B
split-complementary
#1D309F #9F4B1D #719F1D
monochromatic
#0A1137 #14206B #1D309F #2640D3 #566AE0

Accessibility & contrast

On white

10.63
#1D309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D309F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D309F#FFFFFF#000000##FFFFFF
##1D309F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d309f;
/* rgb */ color: rgb(29, 48, 159);
/* oklch */ color: oklch(37.9% 0.179 268.1);
Tailwind
colors: {
  custom: {
    50: '#7268bc',
    500: '#1d309f',
    950: '#000000',
  },
}
SCSS
$custom: #1d309f;
$custom-light: #7268bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d309f",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 231.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37935,
    "c": 0.17887,
    "h": 268.1
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#1D309F
secondary
#C4B354
accent
#D23CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D309F

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

Preview Lab → · Contrast checker → · Palette generator →

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