#1A5498#1A5498

#1A5498 is a dark, vivid cyan. Relative luminance 0.088; OKLCH L 44.7% C 0.126 H 255.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#1A5498
RGBrgb(26, 84, 152)
HSLhsl(212, 71%, 35%)
HSVhsv(212, 83%, 60%)
CMYKcmyk(82.9%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.65, 7.47, -42.41)
CIE-LCHlch(35.65, 43.06, 279.99°)
OKLaboklab(44.71% -0.0323 -0.1216)
OKLCHoklch(44.71% 0.126 255.1)
XYZxyz(9.2617, 8.8261, 30.9152)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5498 #985E1A
analogous
#1A9398 #1A5498 #1F1A98
triadic
#1A5498 #981A54 #54981A
tetradic
#1A5498 #981A93 #985E1A #1A981F
square
#1A5498 #981A93 #985E1A #1A981F
split-complementary
#1A5498 #981F1A #93981A
monochromatic
#081A2F #113764 #1A5498 #2371CC #4C90E0

Accessibility & contrast

On white

7.59
#1A5498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1A5498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5498
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5498#FFFFFF#000000##FFFFFF
##1A54981.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a5498;
/* rgb */ color: rgb(26, 84, 152);
/* oklch */ color: oklch(44.7% 0.126 255.1);
Tailwind
colors: {
  custom: {
    50: '#6d83b7',
    500: '#1a5498',
    950: '#000000',
  },
}
SCSS
$custom: #1a5498;
$custom-light: #6d83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5498",
  "rgb": {
    "r": 26,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 212.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.1258,
    "h": 255.1
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#1A5498
secondary
#C28C4B
accent
#9B3AEE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1A5498

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

Preview Lab → · Contrast checker → · Palette generator →

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