#1A2397#1A2397

#1A2397 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.183 H 269.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1A2397
RGBrgb(26, 35, 151)
HSLhsl(236, 71%, 35%)
HSVhsv(236, 83%, 59%)
CMYKcmyk(82.8%, 76.8%, 0%, 40.8%)
CIE-LABlab(22.50, 39.69, -63.23)
CIE-LCHlch(22.50, 74.65, 302.12°)
OKLaboklab(34.86% -0.0028 -0.1832)
OKLCHoklch(34.86% 0.183 269.1)
XYZxyz(6.6110, 3.6553, 29.6293)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2397 #978E1A
analogous
#1A6297 #1A2397 #501A97
triadic
#1A2397 #971A23 #23971A
tetradic
#1A2397 #971A62 #978E1A #1A9750
square
#1A2397 #971A62 #978E1A #1A9750
split-complementary
#1A2397 #97501A #62971A
monochromatic
#080B2F #111763 #1A2397 #232FCB #4B56E0

Accessibility & contrast

On white

12.13
#1A2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2397
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2397#FFFFFF#000000##FFFFFF
##1A23971.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2397;
/* rgb */ color: rgb(26, 35, 151);
/* oklch */ color: oklch(34.9% 0.183 269.1);
Tailwind
colors: {
  custom: {
    50: '#705fb7',
    500: '#1a2397',
    950: '#000000',
  },
}
SCSS
$custom: #1a2397;
$custom-light: #705fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2397",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 235.68,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.18322,
    "h": 269.1
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#1A2397
secondary
#C2B94B
accent
#E13AED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1A2397

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

Preview Lab → · Contrast checker → · Palette generator →

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