#1A2597#1A2597

#1A2597 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.181 H 268.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1A2597
RGBrgb(26, 37, 151)
HSLhsl(235, 71%, 35%)
HSVhsv(235, 83%, 59%)
CMYKcmyk(82.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(22.92, 38.50, -62.53)
CIE-LCHlch(22.92, 73.44, 301.62°)
OKLaboklab(35.15% -0.0034 -0.1812)
OKLCHoklch(35.15% 0.181 268.9)
XYZxyz(6.6716, 3.7763, 29.6494)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2597 #978C1A
analogous
#1A6497 #1A2597 #4E1A97
triadic
#1A2597 #971A25 #25971A
tetradic
#1A2597 #971A64 #978C1A #1A974E
square
#1A2597 #971A64 #978C1A #1A974E
split-complementary
#1A2597 #974E1A #64971A
monochromatic
#080B2F #111863 #1A2597 #2332CB #4B58E0

Accessibility & contrast

On white

11.96
#1A2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2597
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2597#FFFFFF#000000##FFFFFF
##1A25971.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2597;
/* rgb */ color: rgb(26, 37, 151);
/* oklch */ color: oklch(35.2% 0.181 268.9);
Tailwind
colors: {
  custom: {
    50: '#7061b7',
    500: '#1a2597',
    950: '#000000',
  },
}
SCSS
$custom: #1a2597;
$custom-light: #7061b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2597",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 234.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.18123,
    "h": 268.9
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#1A2597
secondary
#C2B84B
accent
#DE3AED
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1A2597

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

Preview Lab → · Contrast checker → · Palette generator →

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