#1A5F8D#1A5F8D

#1A5F8D is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.100 H 243.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1A5F8D
RGBrgb(26, 95, 141)
HSLhsl(204, 69%, 33%)
HSVhsv(204, 82%, 55%)
CMYKcmyk(81.6%, 32.6%, 0%, 44.7%)
CIE-LABlab(38.42, -3.98, -31.35)
CIE-LCHlch(38.42, 31.60, 262.77°)
OKLaboklab(46.68% -0.0451 -0.089)
OKLCHoklch(46.68% 0.1 243.1)
XYZxyz(9.3240, 10.3260, 26.6958)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F8D #8D481A
analogous
#1A8D81 #1A5F8D #1A268D
triadic
#1A5F8D #8D1A5F #5F8D1A
tetradic
#1A5F8D #811A8D #8D481A #268D1A
square
#1A5F8D #811A8D #8D481A #268D1A
split-complementary
#1A5F8D #8D1A26 #8D811A
monochromatic
#071926 #103C59 #1A5F8D #2482C1 #45A0DD

Accessibility & contrast

On white

6.85
#1A5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1A5F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5F8D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F8D#FFFFFF#000000##FFFFFF
##1A5F8D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#39568C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a5f8d;
/* rgb */ color: rgb(26, 95, 141);
/* oklch */ color: oklch(46.7% 0.100 243.1);
Tailwind
colors: {
  custom: {
    50: '#6a8cae',
    500: '#1a5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f8d;
$custom-light: #6a8cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f8d",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 204,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.09977,
    "h": 243.1
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#1A5F8D
secondary
#BE7545
accent
#823CEC
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1A5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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