#1A1689#1A1689

#1A1689 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.178 H 271.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1A1689
RGBrgb(26, 22, 137)
HSLhsl(242, 72%, 31%)
HSVhsv(242, 84%, 54%)
CMYKcmyk(81%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.36, 42.03, -61.38)
CIE-LCHlch(18.36, 74.39, 304.40°)
OKLaboklab(31.46% 0.0037 -0.1777)
OKLCHoklch(31.46% 0.178 271.2)
XYZxyz(5.2267, 2.5990, 23.8882)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1689 #858916
analogous
#164B89 #1A1689 #531689
triadic
#1A1689 #891A16 #16891A
tetradic
#1A1689 #89164B #858916 #168953
square
#1A1689 #89164B #858916 #168953
split-complementary
#1A1689 #895316 #4B8916
monochromatic
#060520 #100E54 #1A1689 #241EBE #403ADF

Accessibility & contrast

On white

13.82
#1A1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1689
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1689#FFFFFF#000000##FFFFFF
##1A16891.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a1689;
/* rgb */ color: rgb(26, 22, 137);
/* oklch */ color: oklch(31.5% 0.178 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d57ad',
    500: '#1a1689',
    950: '#000000',
  },
}
SCSS
$custom: #1a1689;
$custom-light: #6d57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1689",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 242.087,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31464,
    "c": 0.1777,
    "h": 271.2
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#1A1689
secondary
#B8BD3E
accent
#EF39E9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1689

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

Preview Lab → · Contrast checker → · Palette generator →

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