#1D2175#1D2175

#1D2175 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.140 H 272.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#1D2175
RGBrgb(29, 33, 117)
HSLhsl(237, 60%, 29%)
HSVhsv(237, 75%, 46%)
CMYKcmyk(75.2%, 71.8%, 0%, 54.1%)
CIE-LABlab(18.51, 28.87, -48.43)
CIE-LCHlch(18.51, 56.38, 300.80°)
OKLaboklab(30.94% 0.0065 -0.14)
OKLCHoklch(30.94% 0.14 272.7)
XYZxyz(4.2604, 2.6329, 17.1098)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2175 #75711D
analogous
#1D4D75 #1D2175 #451D75
triadic
#1D2175 #751D21 #21751D
tetradic
#1D2175 #751D4D #75711D #1D7545
square
#1D2175 #751D4D #75711D #1D7545
split-complementary
#1D2175 #75451D #4D751D
monochromatic
#060719 #111344 #1D2175 #292FA6 #3D44CF

Accessibility & contrast

On white

13.76
#1D2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2175
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2175#FFFFFF#000000##FFFFFF
##1D21751.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2175;
/* rgb */ color: rgb(29, 33, 117);
/* oklch */ color: oklch(30.9% 0.140 272.7);
Tailwind
colors: {
  custom: {
    50: '#685c9e',
    500: '#1d2175',
    950: '#000000',
  },
}
SCSS
$custom: #1d2175;
$custom-light: #685c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2175",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 237.273,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30942,
    "c": 0.14019,
    "h": 272.7
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#1D2175
secondary
#A9A545
accent
#DC44E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2175

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

Preview Lab → · Contrast checker → · Palette generator →

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