#1A5B7D#1A5B7D

#1A5B7D is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.8% C 0.084 H 236.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1A5B7D
RGBrgb(26, 91, 125)
HSLhsl(201, 66%, 30%)
HSVhsv(201, 79%, 49%)
CMYKcmyk(79.2%, 27.2%, 0%, 51%)
CIE-LABlab(36.33, -7.66, -24.88)
CIE-LCHlch(36.33, 26.03, 252.88°)
OKLaboklab(44.76% -0.0466 -0.0702)
OKLCHoklch(44.76% 0.084 236.4)
XYZxyz(7.8673, 9.1815, 20.7556)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5B7D #7D3C1A
analogous
#1A7D6E #1A5B7D #1A2A7D
triadic
#1A5B7D #7D1A5B #5B7D1A
tetradic
#1A5B7D #6E1A7D #7D3C1A #2A7D1A
square
#1A5B7D #6E1A7D #7D3C1A #2A7D1A
split-complementary
#1A5B7D #7D1A2A #7D6E1A
monochromatic
#051219 #0F364A #1A5B7D #2580B0 #3BA1D6

Accessibility & contrast

On white

7.40
#1A5B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1A5B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5B7D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5B7D#FFFFFF#000000##FFFFFF
##1A5B7D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1a5b7d;
/* rgb */ color: rgb(26, 91, 125);
/* oklch */ color: oklch(44.8% 0.084 236.4);
Tailwind
colors: {
  custom: {
    50: '#6789a3',
    500: '#1a5b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a5b7d;
$custom-light: #6789a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5b7d",
  "rgb": {
    "r": 26,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 200.606,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.0843,
    "h": 236.4
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#1A5B7D
secondary
#B16842
accent
#793FE9
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1A5B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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