#1A157B#1A157B

#1A157B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.161 H 272.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1A157B
RGBrgb(26, 21, 123)
HSLhsl(243, 71%, 28%)
HSVhsv(243, 83%, 48%)
CMYKcmyk(78.9%, 82.9%, 0%, 51.8%)
CIE-LABlab(16.43, 37.93, -55.71)
CIE-LCHlch(16.43, 67.40, 304.25°)
OKLaboklab(29.62% 0.0074 -0.1612)
OKLCHoklch(29.62% 0.161 272.6)
XYZxyz(4.2681, 2.1855, 18.9320)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A157B #767B15
analogous
#15437B #1A157B #4D157B
triadic
#1A157B #7B1A15 #157B1A
tetradic
#1A157B #7B1543 #767B15 #157B4D
square
#1A157B #7B1543 #767B15 #157B4D
split-complementary
#1A157B #7B4D15 #437B15
monochromatic
#06041A #0F0C47 #1A157B #251EAF #372FDB

Accessibility & contrast

On white

14.61
#1A157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A157B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A157B#FFFFFF#000000##FFFFFF
##1A157B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a157b;
/* rgb */ color: rgb(26, 21, 123);
/* oklch */ color: oklch(29.6% 0.161 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a55a2',
    500: '#1a157b',
    950: '#000000',
  },
}
SCSS
$custom: #1a157b;
$custom-light: #6a55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a157b",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 242.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29618,
    "c": 0.16138,
    "h": 272.6
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#1A157B
secondary
#ABB03B
accent
#EE3AE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A157B

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

Preview Lab → · Contrast checker → · Palette generator →

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