#1A5198#1A5198

#1A5198 is a dark, vivid cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.129 H 256.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1A5198
RGBrgb(26, 81, 152)
HSLhsl(214, 71%, 35%)
HSVhsv(214, 83%, 60%)
CMYKcmyk(82.9%, 46.7%, 0%, 40.4%)
CIE-LABlab(34.74, 9.46, -43.86)
CIE-LCHlch(34.74, 44.87, 282.18°)
OKLaboklab(44.01% -0.0298 -0.1259)
OKLCHoklch(44.01% 0.129 256.7)
XYZxyz(9.0338, 8.3704, 30.8392)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5198 #98611A
analogous
#1A9098 #1A5198 #221A98
triadic
#1A5198 #981A51 #51981A
tetradic
#1A5198 #981A90 #98611A #1A9822
square
#1A5198 #981A90 #98611A #1A9822
split-complementary
#1A5198 #98221A #90981A
monochromatic
#08192F #113564 #1A5198 #236DCC #4C8DE0

Accessibility & contrast

On white

7.85
#1A5198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1A5198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5198
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5198#FFFFFF#000000##FFFFFF
##1A51981.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#0A4C97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a5198;
/* rgb */ color: rgb(26, 81, 152);
/* oklch */ color: oklch(44.0% 0.129 256.7);
Tailwind
colors: {
  custom: {
    50: '#6d81b7',
    500: '#1a5198',
    950: '#000000',
  },
}
SCSS
$custom: #1a5198;
$custom-light: #6d81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5198",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 213.81,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.1294,
    "h": 256.7
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#1A5198
secondary
#C28E4B
accent
#9F3AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1A5198

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

Preview Lab → · Contrast checker → · Palette generator →

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