#1A5F87#1A5F87

#1A5F87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.3% C 0.093 H 239.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1A5F87
RGBrgb(26, 95, 135)
HSLhsl(202, 68%, 32%)
HSVhsv(202, 81%, 53%)
CMYKcmyk(80.7%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.11, -6.29, -28.19)
CIE-LCHlch(38.11, 28.89, 257.42°)
OKLaboklab(46.34% -0.0471 -0.0798)
OKLCHoklch(46.34% 0.093 239.4)
XYZxyz(8.8897, 10.1522, 24.4080)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F87 #87421A
analogous
#1A8779 #1A5F87 #1A2987
triadic
#1A5F87 #871A5F #5F871A
tetradic
#1A5F87 #791A87 #87421A #29871A
square
#1A5F87 #791A87 #87421A #29871A
split-complementary
#1A5F87 #871A29 #87791A
monochromatic
#061720 #103B54 #1A5F87 #2483BA #41A2DA

Accessibility & contrast

On white

6.93
#1A5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1A5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5F87
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F87#FFFFFF#000000##FFFFFF
##1A5F871.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a5f87;
/* rgb */ color: rgb(26, 95, 135);
/* oklch */ color: oklch(46.3% 0.093 239.4);
Tailwind
colors: {
  custom: {
    50: '#698caa',
    500: '#1a5f87',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f87;
$custom-light: #698caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f87",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 202.018,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46335,
    "c": 0.09267,
    "h": 239.4
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#1A5F87
secondary
#BA6E42
accent
#7D3DEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1A5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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