#1A2097#1A2097

#1A2097 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.186 H 269.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1A2097
RGBrgb(26, 32, 151)
HSLhsl(237, 71%, 35%)
HSVhsv(237, 83%, 59%)
CMYKcmyk(82.8%, 78.8%, 0%, 40.8%)
CIE-LABlab(21.89, 41.41, -64.23)
CIE-LCHlch(21.89, 76.42, 302.81°)
OKLaboklab(34.43% -0.0019 -0.1861)
OKLCHoklch(34.43% 0.186 269.4)
XYZxyz(6.5265, 3.4862, 29.6011)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2097 #97911A
analogous
#1A5F97 #1A2097 #531A97
triadic
#1A2097 #971A20 #20971A
tetradic
#1A2097 #971A5F #97911A #1A9753
square
#1A2097 #971A5F #97911A #1A9753
split-complementary
#1A2097 #97531A #5F971A
monochromatic
#080A2F #111563 #1A2097 #232BCB #4B52E0

Accessibility & contrast

On white

12.37
#1A2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2097
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2097#FFFFFF#000000##FFFFFF
##1A20971.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002E95
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2097;
/* rgb */ color: rgb(26, 32, 151);
/* oklch */ color: oklch(34.4% 0.186 269.4);
Tailwind
colors: {
  custom: {
    50: '#705db7',
    500: '#1a2097',
    950: '#000000',
  },
}
SCSS
$custom: #1a2097;
$custom-light: #705db7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2097",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 237.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34429,
    "c": 0.18607,
    "h": 269.4
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#1A2097
secondary
#C2BC4B
accent
#E53AED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A2097

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

Preview Lab → · Contrast checker → · Palette generator →

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