#1A2A97#1A2A97

#1A2A97 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.176 H 268.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1A2A97
RGBrgb(26, 42, 151)
HSLhsl(232, 71%, 35%)
HSVhsv(232, 83%, 59%)
CMYKcmyk(82.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(24.03, 35.41, -60.70)
CIE-LCHlch(24.03, 70.27, 300.26°)
OKLaboklab(35.95% -0.0053 -0.1759)
OKLCHoklch(35.95% 0.176 268.3)
XYZxyz(6.8379, 4.1091, 29.7049)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A97 #97871A
analogous
#1A6997 #1A2A97 #491A97
triadic
#1A2A97 #971A2A #2A971A
tetradic
#1A2A97 #971A69 #97871A #1A9749
square
#1A2A97 #971A69 #97871A #1A9749
split-complementary
#1A2A97 #97491A #69971A
monochromatic
#080D2F #111B63 #1A2A97 #2339CB #4B5EE0

Accessibility & contrast

On white

11.53
#1A2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A97
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A97#FFFFFF#000000##FFFFFF
##1A2A971.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2a97;
/* rgb */ color: rgb(26, 42, 151);
/* oklch */ color: oklch(35.9% 0.176 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f64b7',
    500: '#1a2a97',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a97;
$custom-light: #6f64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a97",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 232.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.17596,
    "h": 268.3
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#1A2A97
secondary
#C2B34B
accent
#D63AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1A2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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