#1A487E#1A487E

#1A487E is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.104 H 254.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#1A487E
RGBrgb(26, 72, 126)
HSLhsl(212, 66%, 30%)
HSVhsv(212, 79%, 49%)
CMYKcmyk(79.4%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.30, 4.97, -35.02)
CIE-LCHlch(30.30, 35.37, 278.08°)
OKLaboklab(40.03% -0.0275 -0.1001)
OKLCHoklch(40.03% 0.104 254.7)
XYZxyz(6.5079, 6.3599, 20.6192)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A487E #7E501A
analogous
#1A7A7E #1A487E #1E1A7E
triadic
#1A487E #7E1A48 #487E1A
tetradic
#1A487E #7E1A7A #7E501A #1A7E1E
square
#1A487E #7E1A7A #7E501A #1A7E1E
split-complementary
#1A487E #7E1E1A #7A7E1A
monochromatic
#050E19 #102B4B #1A487E #2465B1 #3C83D7

Accessibility & contrast

On white

9.24
#1A487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1A487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A487E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A487E#FFFFFF#000000##FFFFFF
##1A487E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a487e;
/* rgb */ color: rgb(26, 72, 126);
/* oklch */ color: oklch(40.0% 0.104 254.7);
Tailwind
colors: {
  custom: {
    50: '#667aa4',
    500: '#1a487e',
    950: '#000000',
  },
}
SCSS
$custom: #1a487e;
$custom-light: #667aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a487e",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 212.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.10382,
    "h": 254.7
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#1A487E
secondary
#B27E42
accent
#9B3FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1A487E

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

Preview Lab → · Contrast checker → · Palette generator →

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