#1A2180#1A2180

#1A2180 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.156 H 270.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1A2180
RGBrgb(26, 33, 128)
HSLhsl(236, 66%, 30%)
HSVhsv(236, 80%, 50%)
CMYKcmyk(79.7%, 74.2%, 0%, 49.8%)
CIE-LABlab(19.50, 32.64, -53.83)
CIE-LCHlch(19.50, 62.95, 301.23°)
OKLaboklab(31.96% 0.0015 -0.1559)
OKLCHoklch(31.96% 0.156 270.6)
XYZxyz(4.8648, 2.8653, 20.7146)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2180 #80791A
analogous
#1A5480 #1A2180 #461A80
triadic
#1A2180 #801A21 #21801A
tetradic
#1A2180 #801A54 #80791A #1A8046
square
#1A2180 #801A54 #80791A #1A8046
split-complementary
#1A2180 #80461A #54801A
monochromatic
#05071A #10144D #1A2180 #242EB3 #3D47D8

Accessibility & contrast

On white

13.35
#1A2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2180
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2180#FFFFFF#000000##FFFFFF
##1A21801.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2180;
/* rgb */ color: rgb(26, 33, 128);
/* oklch */ color: oklch(32.0% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a5da6',
    500: '#1a2180',
    950: '#000000',
  },
}
SCSS
$custom: #1a2180;
$custom-light: #6a5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2180",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 235.882,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31955,
    "c": 0.15587,
    "h": 270.6
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#1A2180
secondary
#B4AC42
accent
#DD3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1A2180

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

Preview Lab → · Contrast checker → · Palette generator →

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