#1D3175#1D3175

#1D3175 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.119 H 267.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1D3175
RGBrgb(29, 49, 117)
HSLhsl(226, 60%, 29%)
HSVhsv(226, 75%, 46%)
CMYKcmyk(75.2%, 58.1%, 0%, 54.1%)
CIE-LABlab(22.80, 17.77, -41.42)
CIE-LCHlch(22.80, 45.07, 293.22°)
OKLaboklab(34.11% -0.0056 -0.1193)
OKLCHoklch(34.11% 0.119 267.3)
XYZxyz(4.8148, 3.7417, 17.2946)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3175 #75611D
analogous
#1D5D75 #1D3175 #351D75
triadic
#1D3175 #751D31 #31751D
tetradic
#1D3175 #751D5D #75611D #1D7535
square
#1D3175 #751D5D #75611D #1D7535
split-complementary
#1D3175 #75351D #5D751D
monochromatic
#060A19 #111C44 #1D3175 #2946A6 #3D5ECF

Accessibility & contrast

On white

12.01
#1D3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D3175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3175
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3175#FFFFFF#000000##FFFFFF
##1D31751.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d3175;
/* rgb */ color: rgb(29, 49, 117);
/* oklch */ color: oklch(34.1% 0.119 267.3);
Tailwind
colors: {
  custom: {
    50: '#66689d',
    500: '#1d3175',
    950: '#000000',
  },
}
SCSS
$custom: #1d3175;
$custom-light: #66689d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3175",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 226.364,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34107,
    "c": 0.11947,
    "h": 267.3
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#1D3175
secondary
#A99245
accent
#BF44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D3175

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

Preview Lab → · Contrast checker → · Palette generator →

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