#1A2C97#1A2C97

#1A2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.174 H 268.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1A2C97
RGBrgb(26, 44, 151)
HSLhsl(231, 71%, 35%)
HSVhsv(231, 83%, 59%)
CMYKcmyk(82.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.50, 34.14, -59.93)
CIE-LCHlch(24.50, 68.97, 299.67°)
OKLaboklab(36.29% -0.0061 -0.1736)
OKLCHoklch(36.29% 0.174 268)
XYZxyz(6.9107, 4.2545, 29.7291)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C97 #97851A
analogous
#1A6B97 #1A2C97 #471A97
triadic
#1A2C97 #971A2C #2C971A
tetradic
#1A2C97 #971A6B #97851A #1A9747
square
#1A2C97 #971A6B #97851A #1A9747
split-complementary
#1A2C97 #97471A #6B971A
monochromatic
#080E2F #111D63 #1A2C97 #233BCB #4B61E0

Accessibility & contrast

On white

11.35
#1A2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1A2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C97
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C97#FFFFFF#000000##FFFFFF
##1A2C971.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2c97;
/* rgb */ color: rgb(26, 44, 151);
/* oklch */ color: oklch(36.3% 0.174 268.0);
Tailwind
colors: {
  custom: {
    50: '#6f65b7',
    500: '#1a2c97',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c97;
$custom-light: #6f65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c97",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 231.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36287,
    "c": 0.17375,
    "h": 268
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#1A2C97
secondary
#C2B14B
accent
#D43AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1A2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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