#1A2289#1A2289

#1A2289 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.167 H 269.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1A2289
RGBrgb(26, 34, 137)
HSLhsl(236, 68%, 32%)
HSVhsv(236, 81%, 54%)
CMYKcmyk(81%, 75.2%, 0%, 46.3%)
CIE-LABlab(20.71, 35.30, -57.49)
CIE-LCHlch(20.71, 67.47, 301.55°)
OKLaboklab(33.12% -0.0003 -0.1665)
OKLCHoklch(33.12% 0.167 269.9)
XYZxyz(5.5118, 3.1692, 23.9833)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2289 #89811A
analogous
#1A5989 #1A2289 #4A1A89
triadic
#1A2289 #891A22 #22891A
tetradic
#1A2289 #891A59 #89811A #1A894A
square
#1A2289 #891A59 #89811A #1A894A
split-complementary
#1A2289 #894A1A #59891A
monochromatic
#060822 #101556 #1A2289 #242FBC #424DDB

Accessibility & contrast

On white

12.85
#1A2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2289
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2289#FFFFFF#000000##FFFFFF
##1A22891.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2289;
/* rgb */ color: rgb(26, 34, 137);
/* oklch */ color: oklch(33.1% 0.167 269.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ead',
    500: '#1a2289',
    950: '#000000',
  },
}
SCSS
$custom: #1a2289;
$custom-light: #6c5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2289",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 235.676,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.16653,
    "h": 269.9
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#1A2289
secondary
#BCB343
accent
#DE3DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2289

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

Preview Lab → · Contrast checker → · Palette generator →

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