#1D5898#1D5898

#1D5898 is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.120 H 253.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1D5898
RGBrgb(29, 88, 152)
HSLhsl(211, 68%, 35%)
HSVhsv(211, 81%, 60%)
CMYKcmyk(80.9%, 42.1%, 0%, 40.4%)
CIE-LABlab(36.94, 5.15, -40.33)
CIE-LCHlch(36.94, 40.66, 277.28°)
OKLaboklab(45.74% -0.0341 -0.1154)
OKLCHoklch(45.74% 0.12 253.5)
XYZxyz(9.6618, 9.5065, 31.0254)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5898 #985D1D
analogous
#1D9598 #1D5898 #201D98
triadic
#1D5898 #981D58 #58981D
tetradic
#1D5898 #981D95 #985D1D #1D9820
square
#1D5898 #981D95 #985D1D #1D9820
split-complementary
#1D5898 #98201D #95981D
monochromatic
#091C31 #133A65 #1D5898 #2776CB #5295DE

Accessibility & contrast

On white

7.24
#1D5898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1D5898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5898
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5898#FFFFFF#000000##FFFFFF
##1D58981.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1d5898;
/* rgb */ color: rgb(29, 88, 152);
/* oklch */ color: oklch(45.7% 0.120 253.5);
Tailwind
colors: {
  custom: {
    50: '#6d86b7',
    500: '#1d5898',
    950: '#000000',
  },
}
SCSS
$custom: #1d5898;
$custom-light: #6d86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5898",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 211.22,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.12031,
    "h": 253.5
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#1D5898
secondary
#C18B50
accent
#973DEB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1D5898

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

Preview Lab → · Contrast checker → · Palette generator →

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