#1D5498#1D5498

#1D5498 is a dark, vivid cyan. Relative luminance 0.089; OKLCH L 44.8% C 0.125 H 255.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#1D5498
RGBrgb(29, 84, 152)
HSLhsl(213, 68%, 35%)
HSVhsv(213, 81%, 60%)
CMYKcmyk(80.9%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.73, 7.78, -42.27)
CIE-LCHlch(35.73, 42.98, 280.43°)
OKLaboklab(44.8% -0.0306 -0.1212)
OKLCHoklch(44.8% 0.125 255.8)
XYZxyz(9.3424, 8.8677, 30.9189)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5498 #98611D
analogous
#1D9198 #1D5498 #241D98
triadic
#1D5498 #981D54 #54981D
tetradic
#1D5498 #981D91 #98611D #1D9824
square
#1D5498 #981D91 #98611D #1D9824
split-complementary
#1D5498 #98241D #91981D
monochromatic
#091B31 #133865 #1D5498 #2770CB #5290DE

Accessibility & contrast

On white

7.57
#1D5498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1D5498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5498
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5498#FFFFFF#000000##FFFFFF
##1D54981.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#184F97
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1d5498;
/* rgb */ color: rgb(29, 84, 152);
/* oklch */ color: oklch(44.8% 0.125 255.8);
Tailwind
colors: {
  custom: {
    50: '#6d83b7',
    500: '#1d5498',
    950: '#000000',
  },
}
SCSS
$custom: #1d5498;
$custom-light: #6d83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5498",
  "rgb": {
    "r": 29,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 213.171,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.12497,
    "h": 255.8
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#1D5498
secondary
#C18E50
accent
#9D3DEB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D5498

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

Preview Lab → · Contrast checker → · Palette generator →

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