#1A2980#1A2980

#1A2980 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.147 H 268.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1A2980
RGBrgb(26, 41, 128)
HSLhsl(231, 66%, 30%)
HSVhsv(231, 80%, 50%)
CMYKcmyk(79.7%, 68%, 0%, 49.8%)
CIE-LABlab(21.44, 27.36, -50.62)
CIE-LCHlch(21.44, 57.54, 298.39°)
OKLaboklab(33.37% -0.0028 -0.1465)
OKLCHoklch(33.37% 0.147 268.9)
XYZxyz(5.1139, 3.3634, 20.7976)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2980 #80711A
analogous
#1A5C80 #1A2980 #3E1A80
triadic
#1A2980 #801A29 #29801A
tetradic
#1A2980 #801A5C #80711A #1A803E
square
#1A2980 #801A5C #80711A #1A803E
split-complementary
#1A2980 #803E1A #5C801A
monochromatic
#05081A #10194D #1A2980 #2439B3 #3D54D8

Accessibility & contrast

On white

12.55
#1A2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2980
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2980#FFFFFF#000000##FFFFFF
##1A29801.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2980;
/* rgb */ color: rgb(26, 41, 128);
/* oklch */ color: oklch(33.4% 0.147 268.9);
Tailwind
colors: {
  custom: {
    50: '#6962a6',
    500: '#1a2980',
    950: '#000000',
  },
}
SCSS
$custom: #1a2980;
$custom-light: #6962a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2980",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 231.176,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.14652,
    "h": 268.9
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#1A2980
secondary
#B4A342
accent
#D03FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2980

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

Preview Lab → · Contrast checker → · Palette generator →

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