#1A2497#1A2497

#1A2497 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.182 H 269.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1A2497
RGBrgb(26, 36, 151)
HSLhsl(235, 71%, 35%)
HSVhsv(235, 83%, 59%)
CMYKcmyk(82.8%, 76.2%, 0%, 40.8%)
CIE-LABlab(22.71, 39.10, -62.88)
CIE-LCHlch(22.71, 74.05, 301.87°)
OKLaboklab(35% -0.0031 -0.1822)
OKLCHoklch(35% 0.182 269)
XYZxyz(6.6409, 3.7149, 29.6392)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2497 #978D1A
analogous
#1A6397 #1A2497 #4F1A97
triadic
#1A2497 #971A24 #24971A
tetradic
#1A2497 #971A63 #978D1A #1A974F
square
#1A2497 #971A63 #978D1A #1A974F
split-complementary
#1A2497 #974F1A #63971A
monochromatic
#080B2F #111863 #1A2497 #2330CB #4B57E0

Accessibility & contrast

On white

12.05
#1A2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2497
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2497#FFFFFF#000000##FFFFFF
##1A24971.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2497;
/* rgb */ color: rgb(26, 36, 151);
/* oklch */ color: oklch(35.0% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#7060b7',
    500: '#1a2497',
    950: '#000000',
  },
}
SCSS
$custom: #1a2497;
$custom-light: #7060b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2497",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 235.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35003,
    "c": 0.18224,
    "h": 269
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#1A2497
secondary
#C2B84B
accent
#DF3AED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1A2497

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

Preview Lab → · Contrast checker → · Palette generator →

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