#1A2B97#1A2B97

#1A2B97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.175 H 268.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1A2B97
RGBrgb(26, 43, 151)
HSLhsl(232, 71%, 35%)
HSVhsv(232, 83%, 59%)
CMYKcmyk(82.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.26, 34.78, -60.32)
CIE-LCHlch(24.26, 69.63, 299.97°)
OKLaboklab(36.12% -0.0057 -0.1748)
OKLCHoklch(36.12% 0.175 268.1)
XYZxyz(6.8739, 4.1809, 29.7169)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B97 #97861A
analogous
#1A6A97 #1A2B97 #481A97
triadic
#1A2B97 #971A2B #2B971A
tetradic
#1A2B97 #971A6A #97861A #1A9748
square
#1A2B97 #971A6A #97861A #1A9748
split-complementary
#1A2B97 #97481A #6A971A
monochromatic
#080D2F #111C63 #1A2B97 #233ACB #4B60E0

Accessibility & contrast

On white

11.44
#1A2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1A2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B97
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B97#FFFFFF#000000##FFFFFF
##1A2B971.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a2b97;
/* rgb */ color: rgb(26, 43, 151);
/* oklch */ color: oklch(36.1% 0.175 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f65b7',
    500: '#1a2b97',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b97;
$custom-light: #6f65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b97",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 231.84,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36117,
    "c": 0.17486,
    "h": 268.1
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#1A2B97
secondary
#C2B24B
accent
#D53AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1A2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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