#1D5291#1D5291

#1D5291 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.118 H 255.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1D5291
RGBrgb(29, 82, 145)
HSLhsl(213, 67%, 34%)
HSVhsv(213, 80%, 57%)
CMYKcmyk(80%, 43.4%, 0%, 43.1%)
CIE-LABlab(34.68, 6.31, -39.71)
CIE-LCHlch(34.68, 40.21, 279.03°)
OKLaboklab(43.84% -0.0304 -0.1137)
OKLCHoklch(43.84% 0.118 255)
XYZxyz(8.6329, 8.3391, 27.9372)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5291 #915C1D
analogous
#1D8C91 #1D5291 #221D91
triadic
#1D5291 #911D52 #52911D
tetradic
#1D5291 #911D8C #915C1D #1D9122
square
#1D5291 #911D8C #915C1D #1D9122
split-complementary
#1D5291 #91221D #8C911D
monochromatic
#09182B #13355E #1D5291 #276FC4 #4D8EDB

Accessibility & contrast

On white

7.87
#1D5291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1D5291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5291
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5291#FFFFFF#000000##FFFFFF
##1D52911.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335793
Deuteranopia (green-blind)
#1D4D90
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d5291;
/* rgb */ color: rgb(29, 82, 145);
/* oklch */ color: oklch(43.8% 0.118 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c82b2',
    500: '#1d5291',
    950: '#000000',
  },
}
SCSS
$custom: #1d5291;
$custom-light: #6c82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5291",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 212.586,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.11766,
    "h": 255
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#1D5291
secondary
#BE8A4C
accent
#9B3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D5291

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

Preview Lab → · Contrast checker → · Palette generator →

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