#1D107D#1D107D

#1D107D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.167 H 274.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1D107D
RGBrgb(29, 16, 125)
HSLhsl(247, 77%, 28%)
HSVhsv(247, 87%, 49%)
CMYKcmyk(76.8%, 87.2%, 0%, 51%)
CIE-LABlab(16.06, 41.22, -57.59)
CIE-LCHlch(16.06, 70.82, 305.59°)
OKLaboklab(29.49% 0.0126 -0.1665)
OKLCHoklch(29.49% 0.167 274.3)
XYZxyz(4.3924, 2.1120, 19.5742)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D107D #707D10
analogous
#10397D #1D107D #53107D
triadic
#1D107D #7D1D10 #107D1D
tetradic
#1D107D #7D1039 #707D10 #107D53
square
#1D107D #7D1039 #707D10 #107D53
split-complementary
#1D107D #7D5310 #397D10
monochromatic
#06031B #100947 #1D107D #2A17B3 #3B24E3

Accessibility & contrast

On white

14.76
#1D107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1D107D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D107D
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D107D#FFFFFF#000000##FFFFFF
##1D107D1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d107d;
/* rgb */ color: rgb(29, 16, 125);
/* oklch */ color: oklch(29.5% 0.167 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c53a4',
    500: '#1d107d',
    950: '#000000',
  },
}
SCSS
$custom: #1d107d;
$custom-light: #6c53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d107d",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 247.156,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29492,
    "c": 0.16699,
    "h": 274.3
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#1D107D
secondary
#A4B335
accent
#F434DD
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D107D

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

Preview Lab → · Contrast checker → · Palette generator →

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