#1A2A89#1A2A89

#1A2A89 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.158 H 268.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1A2A89
RGBrgb(26, 42, 137)
HSLhsl(231, 68%, 32%)
HSVhsv(231, 81%, 54%)
CMYKcmyk(81%, 69.3%, 0%, 46.3%)
CIE-LABlab(22.59, 30.16, -54.40)
CIE-LCHlch(22.59, 62.20, 299.00°)
OKLaboklab(34.47% -0.004 -0.1575)
OKLCHoklch(34.47% 0.158 268.5)
XYZxyz(5.7678, 3.6810, 24.0686)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A89 #89791A
analogous
#1A6289 #1A2A89 #411A89
triadic
#1A2A89 #891A2A #2A891A
tetradic
#1A2A89 #891A62 #89791A #1A8941
square
#1A2A89 #891A62 #89791A #1A8941
split-complementary
#1A2A89 #89411A #62891A
monochromatic
#060A22 #101A56 #1A2A89 #243ABC #4258DB

Accessibility & contrast

On white

12.09
#1A2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A89
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A89#FFFFFF#000000##FFFFFF
##1A2A891.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2a89;
/* rgb */ color: rgb(26, 42, 137);
/* oklch */ color: oklch(34.5% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b63ac',
    500: '#1a2a89',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a89;
$custom-light: #6b63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a89",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 231.351,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34472,
    "c": 0.15757,
    "h": 268.5
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#1A2A89
secondary
#BCAB43
accent
#D23DEB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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