#1A157A#1A157A

#1A157A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.160 H 272.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#1A157A
RGBrgb(26, 21, 122)
HSLhsl(243, 71%, 28%)
HSVhsv(243, 83%, 48%)
CMYKcmyk(78.7%, 82.8%, 0%, 52.2%)
CIE-LABlab(16.31, 37.59, -55.28)
CIE-LCHlch(16.31, 66.85, 304.22°)
OKLaboklab(29.5% 0.0077 -0.1599)
OKLCHoklch(29.5% 0.16 272.7)
XYZxyz(4.2058, 2.1606, 18.6040)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A157A #757A15
analogous
#15437A #1A157A #4C157A
triadic
#1A157A #7A1A15 #157A1A
tetradic
#1A157A #7A1543 #757A15 #157A4C
square
#1A157A #7A1543 #757A15 #157A4C
split-complementary
#1A157A #7A4C15 #437A15
monochromatic
#06041A #0F0C46 #1A157A #251EAE #372EDB

Accessibility & contrast

On white

14.66
#1A157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A157A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A157A#FFFFFF#000000##FFFFFF
##1A157A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a157a;
/* rgb */ color: rgb(26, 21, 122);
/* oklch */ color: oklch(29.5% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#6955a2',
    500: '#1a157a',
    950: '#000000',
  },
}
SCSS
$custom: #1a157a;
$custom-light: #6955a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a157a",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 242.97,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29496,
    "c": 0.16012,
    "h": 272.7
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#1A157A
secondary
#AAAF3B
accent
#ED3AE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A157A

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

Preview Lab → · Contrast checker → · Palette generator →

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