#1A2089#1A2089

#1A2089 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.169 H 270.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1A2089
RGBrgb(26, 32, 137)
HSLhsl(237, 68%, 32%)
HSVhsv(237, 81%, 54%)
CMYKcmyk(81%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.28, 36.52, -58.21)
CIE-LCHlch(20.28, 68.72, 302.10°)
OKLaboklab(32.81% 0.0005 -0.1686)
OKLCHoklch(32.81% 0.169 270.2)
XYZxyz(5.4563, 3.0582, 23.9648)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2089 #89831A
analogous
#1A5889 #1A2089 #4C1A89
triadic
#1A2089 #891A20 #20891A
tetradic
#1A2089 #891A58 #89831A #1A894C
square
#1A2089 #891A58 #89831A #1A894C
split-complementary
#1A2089 #894C1A #58891A
monochromatic
#060822 #101456 #1A2089 #242CBC #424ADB

Accessibility & contrast

On white

13.03
#1A2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2089
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2089#FFFFFF#000000##FFFFFF
##1A20891.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2089;
/* rgb */ color: rgb(26, 32, 137);
/* oklch */ color: oklch(32.8% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#6c5dad',
    500: '#1a2089',
    950: '#000000',
  },
}
SCSS
$custom: #1a2089;
$custom-light: #6c5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2089",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 236.757,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.1686,
    "h": 270.2
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#1A2089
secondary
#BCB643
accent
#E23DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2089

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

Preview Lab → · Contrast checker → · Palette generator →

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