#1A4887#1A4887

#1A4887 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.7% C 0.117 H 257.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#1A4887
RGBrgb(26, 72, 135)
HSLhsl(215, 68%, 32%)
HSVhsv(215, 81%, 53%)
CMYKcmyk(80.7%, 46.7%, 0%, 47.1%)
CIE-LABlab(30.89, 8.63, -39.67)
CIE-LCHlch(30.89, 40.60, 282.28°)
OKLaboklab(40.67% -0.0255 -0.1138)
OKLCHoklch(40.67% 0.117 257.4)
XYZxyz(7.1149, 6.6028, 23.8164)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4887 #87591A
analogous
#1A7F87 #1A4887 #231A87
triadic
#1A4887 #871A48 #48871A
tetradic
#1A4887 #871A7F #87591A #1A8723
square
#1A4887 #871A7F #87591A #1A8723
split-complementary
#1A4887 #87231A #7F871A
monochromatic
#061120 #102D54 #1A4887 #2463BA #4182DA

Accessibility & contrast

On white

9.05
#1A4887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1A4887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4887
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4887#FFFFFF#000000##FFFFFF
##1A48871.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a4887;
/* rgb */ color: rgb(26, 72, 135);
/* oklch */ color: oklch(40.7% 0.117 257.4);
Tailwind
colors: {
  custom: {
    50: '#697aaa',
    500: '#1a4887',
    950: '#000000',
  },
}
SCSS
$custom: #1a4887;
$custom-light: #697aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4887",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 214.679,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.11662,
    "h": 257.4
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#1A4887
secondary
#BA8842
accent
#A13DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4887

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

Preview Lab → · Contrast checker → · Palette generator →

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