#1A5F8E#1A5F8E

#1A5F8E is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.7% C 0.101 H 243.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#1A5F8E
RGBrgb(26, 95, 142)
HSLhsl(204, 69%, 33%)
HSVhsv(204, 82%, 56%)
CMYKcmyk(81.7%, 33.1%, 0%, 44.3%)
CIE-LABlab(38.47, -3.59, -31.87)
CIE-LCHlch(38.47, 32.07, 263.58°)
OKLaboklab(46.74% -0.0448 -0.0905)
OKLCHoklch(46.74% 0.101 243.6)
XYZxyz(9.3988, 10.3559, 27.0895)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F8E #8E491A
analogous
#1A8E83 #1A5F8E #1A258E
triadic
#1A5F8E #8E1A5F #5F8E1A
tetradic
#1A5F8E #831A8E #8E491A #258E1A
square
#1A5F8E #831A8E #8E491A #258E1A
split-complementary
#1A5F8E #8E1A25 #8E831A
monochromatic
#071A27 #113C5A #1A5F8E #2382C2 #45A0DD

Accessibility & contrast

On white

6.84
#1A5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A5F8E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F8E#FFFFFF#000000##FFFFFF
##1A5F8E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496090
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#006B70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1a5f8e;
/* rgb */ color: rgb(26, 95, 142);
/* oklch */ color: oklch(46.7% 0.101 243.6);
Tailwind
colors: {
  custom: {
    50: '#6a8caf',
    500: '#1a5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f8e;
$custom-light: #6a8caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f8e",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 204.31,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.10099,
    "h": 243.6
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#1A5F8E
secondary
#BE7645
accent
#833CEC
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1A5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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