#1A5F8B#1A5F8B

#1A5F8B is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.097 H 241.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#1A5F8B
RGBrgb(26, 95, 139)
HSLhsl(203, 68%, 32%)
HSVhsv(203, 81%, 55%)
CMYKcmyk(81.3%, 31.7%, 0%, 45.5%)
CIE-LABlab(38.32, -4.75, -30.30)
CIE-LCHlch(38.32, 30.67, 261.09°)
OKLaboklab(46.56% -0.0458 -0.0859)
OKLCHoklch(46.56% 0.097 241.9)
XYZxyz(9.1766, 10.2670, 25.9192)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F8B #8B461A
analogous
#1A8B7F #1A5F8B #1A268B
triadic
#1A5F8B #8B1A5F #5F8B1A
tetradic
#1A5F8B #7F1A8B #8B461A #268B1A
square
#1A5F8B #7F1A8B #8B461A #268B1A
split-complementary
#1A5F8B #8B1A26 #8B7F1A
monochromatic
#071924 #103C57 #1A5F8B #2482BF #43A1DC

Accessibility & contrast

On white

6.88
#1A5F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1A5F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A5F8B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F8B#FFFFFF#000000##FFFFFF
##1A5F8B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a5f8b;
/* rgb */ color: rgb(26, 95, 139);
/* oklch */ color: oklch(46.6% 0.097 241.9);
Tailwind
colors: {
  custom: {
    50: '#6a8cad',
    500: '#1a5f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f8b;
$custom-light: #6a8cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f8b",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 203.363,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.09736,
    "h": 241.9
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#1A5F8B
secondary
#BD7344
accent
#813CEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1A5F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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