#1A2889#1A2889

#1A2889 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.160 H 268.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#1A2889
RGBrgb(26, 40, 137)
HSLhsl(232, 68%, 32%)
HSVhsv(232, 81%, 54%)
CMYKcmyk(81%, 70.8%, 0%, 46.3%)
CIE-LABlab(22.10, 31.48, -55.20)
CIE-LCHlch(22.10, 63.55, 299.69°)
OKLaboklab(34.12% -0.003 -0.1599)
OKLCHoklch(34.12% 0.16 268.9)
XYZxyz(5.6986, 3.5427, 24.0455)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2889 #897B1A
analogous
#1A6089 #1A2889 #431A89
triadic
#1A2889 #891A28 #28891A
tetradic
#1A2889 #891A60 #897B1A #1A8943
square
#1A2889 #891A60 #897B1A #1A8943
split-complementary
#1A2889 #89431A #60891A
monochromatic
#060A22 #101956 #1A2889 #2437BC #4256DB

Accessibility & contrast

On white

12.29
#1A2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2889
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2889#FFFFFF#000000##FFFFFF
##1A28891.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2889;
/* rgb */ color: rgb(26, 40, 137);
/* oklch */ color: oklch(34.1% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#6b62ac',
    500: '#1a2889',
    950: '#000000',
  },
}
SCSS
$custom: #1a2889;
$custom-light: #6b62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2889",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 232.432,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.1599,
    "h": 268.9
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#1A2889
secondary
#BCAD43
accent
#D53DEB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2889

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

Preview Lab → · Contrast checker → · Palette generator →

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