#1A5188#1A5188

#1A5188 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.107 H 251.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1A5188
RGBrgb(26, 81, 136)
HSLhsl(210, 68%, 32%)
HSVhsv(210, 81%, 53%)
CMYKcmyk(80.9%, 40.4%, 0%, 46.7%)
CIE-LABlab(33.73, 3.01, -35.73)
CIE-LCHlch(33.73, 35.85, 274.82°)
OKLaboklab(42.9% -0.0334 -0.102)
OKLCHoklch(42.9% 0.107 251.9)
XYZxyz(7.8107, 7.8811, 24.3973)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5188 #88511A
analogous
#1A8888 #1A5188 #1A1A88
triadic
#1A5188 #881A51 #51881A
tetradic
#1A5188 #881A88 #88511A #1A881A
square
#1A5188 #881A88 #88511A #1A881A
split-complementary
#1A5188 #881A1A #88881A
monochromatic
#061421 #103255 #1A5188 #2470BB #428EDB

Accessibility & contrast

On white

8.15
#1A5188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A5188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5188
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5188#FFFFFF#000000##FFFFFF
##1A51881.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a5188;
/* rgb */ color: rgb(26, 81, 136);
/* oklch */ color: oklch(42.9% 0.107 251.9);
Tailwind
colors: {
  custom: {
    50: '#6981ab',
    500: '#1a5188',
    950: '#000000',
  },
}
SCSS
$custom: #1a5188;
$custom-light: #6981ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5188",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 210,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.10735,
    "h": 251.9
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#1A5188
secondary
#BB7F43
accent
#943DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A5188

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

Preview Lab → · Contrast checker → · Palette generator →

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