#1A2189#1A2189

#1A2189 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.168 H 270.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2189
RGBrgb(26, 33, 137)
HSLhsl(236, 68%, 32%)
HSVhsv(236, 81%, 54%)
CMYKcmyk(81%, 75.9%, 0%, 46.3%)
CIE-LABlab(20.49, 35.92, -57.86)
CIE-LCHlch(20.49, 68.10, 301.83°)
OKLaboklab(32.96% 0.0001 -0.1676)
OKLCHoklch(32.96% 0.168 270)
XYZxyz(5.4837, 3.1128, 23.9739)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2189 #89821A
analogous
#1A5989 #1A2189 #4B1A89
triadic
#1A2189 #891A21 #21891A
tetradic
#1A2189 #891A59 #89821A #1A894B
square
#1A2189 #891A59 #89821A #1A894B
split-complementary
#1A2189 #894B1A #59891A
monochromatic
#060822 #101556 #1A2189 #242DBC #424CDB

Accessibility & contrast

On white

12.94
#1A2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2189
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2189#FFFFFF#000000##FFFFFF
##1A21891.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2189;
/* rgb */ color: rgb(26, 33, 137);
/* oklch */ color: oklch(33.0% 0.168 270.0);
Tailwind
colors: {
  custom: {
    50: '#6c5dad',
    500: '#1a2189',
    950: '#000000',
  },
}
SCSS
$custom: #1a2189;
$custom-light: #6c5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2189",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 236.216,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32961,
    "c": 0.16758,
    "h": 270
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#1A2189
secondary
#BCB443
accent
#E03DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2189

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

Preview Lab → · Contrast checker → · Palette generator →

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