#1A2989#1A2989

#1A2989 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.159 H 268.7°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1A2989
RGBrgb(26, 41, 137)
HSLhsl(232, 68%, 32%)
HSVhsv(232, 81%, 54%)
CMYKcmyk(81%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.34, 30.82, -54.80)
CIE-LCHlch(22.34, 62.87, 299.35°)
OKLaboklab(34.29% -0.0035 -0.1587)
OKLCHoklch(34.29% 0.159 268.7)
XYZxyz(5.7327, 3.6110, 24.0569)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2989 #897A1A
analogous
#1A6189 #1A2989 #431A89
triadic
#1A2989 #891A29 #29891A
tetradic
#1A2989 #891A61 #897A1A #1A8943
square
#1A2989 #891A61 #897A1A #1A8943
split-complementary
#1A2989 #89431A #61891A
monochromatic
#060A22 #101A56 #1A2989 #2438BC #4257DB

Accessibility & contrast

On white

12.19
#1A2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2989
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2989#FFFFFF#000000##FFFFFF
##1A29891.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2989;
/* rgb */ color: rgb(26, 41, 137);
/* oklch */ color: oklch(34.3% 0.159 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b63ac',
    500: '#1a2989',
    950: '#000000',
  },
}
SCSS
$custom: #1a2989;
$custom-light: #6b63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2989",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 231.892,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34293,
    "c": 0.15874,
    "h": 268.7
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#1A2989
secondary
#BCAC43
accent
#D33DEB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2989

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

Preview Lab → · Contrast checker → · Palette generator →

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