#1A508C#1A508C

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

Color values

HEX#1A508C
RGBrgb(26, 80, 140)
HSLhsl(212, 69%, 33%)
HSVhsv(212, 81%, 55%)
CMYKcmyk(81.4%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.67, 5.28, -38.28)
CIE-LCHlch(33.67, 38.65, 277.85°)
OKLaboklab(42.93% -0.0315 -0.1096)
OKLCHoklch(42.93% 0.114 254)
XYZxyz(8.0265, 7.8494, 25.8979)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A508C #8C561A
analogous
#1A898C #1A508C #1D1A8C
triadic
#1A508C #8C1A50 #508C1A
tetradic
#1A508C #8C1A89 #8C561A #1A8C1D
square
#1A508C #8C1A89 #8C561A #1A8C1D
split-complementary
#1A508C #8C1D1A #898C1A
monochromatic
#071525 #103358 #1A508C #246DC0 #448CDC

Accessibility & contrast

On white

8.17
#1A508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1A508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A508C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A508C#FFFFFF#000000##FFFFFF
##1A508C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558E
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a508c;
/* rgb */ color: rgb(26, 80, 140);
/* oklch */ color: oklch(42.9% 0.114 254.0);
Tailwind
colors: {
  custom: {
    50: '#6a80ae',
    500: '#1a508c',
    950: '#000000',
  },
}
SCSS
$custom: #1a508c;
$custom-light: #6a80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a508c",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 211.579,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.114,
    "h": 254
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#1A508C
secondary
#BE8444
accent
#993CEC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1A508C

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

Preview Lab → · Contrast checker → · Palette generator →

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