#1A175A#1A175A

#1A175A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.115 H 276.8°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#1A175A
RGBrgb(26, 23, 90)
HSLhsl(243, 59%, 22%)
HSVhsv(243, 74%, 35%)
CMYKcmyk(71.1%, 74.4%, 0%, 64.7%)
CIE-LABlab(13.05, 25.00, -39.66)
CIE-LCHlch(13.05, 46.89, 302.23°)
OKLaboklab(26.1% 0.0136 -0.1145)
OKLCHoklch(26.1% 0.115 276.8)
XYZxyz(2.5773, 1.5704, 9.8382)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A175A #575A17
analogous
#17355A #1A175A #3C175A
triadic
#1A175A #5A1A17 #175A1A
tetradic
#1A175A #5A1735 #575A17 #175A3C
square
#1A175A #5A1735 #575A17 #175A3C
split-complementary
#1A175A #5A3C17 #355A17
monochromatic
#070618 #0C0B29 #1A175A #28238B #3630BB

Accessibility & contrast

On white

15.98
#1A175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A175A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A175A#FFFFFF#000000##FFFFFF
##1A175A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a175a;
/* rgb */ color: rgb(26, 23, 90);
/* oklch */ color: oklch(26.1% 0.115 276.8);
Tailwind
colors: {
  custom: {
    50: '#615489',
    500: '#1a175a',
    950: '#000000',
  },
}
SCSS
$custom: #1a175a;
$custom-light: #615489;
$custom-dark: #000000;
JSON
{
  "hex": "#1a175a",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 242.687,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26097,
    "c": 0.11531,
    "h": 276.8
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#1A175A
secondary
#8D913C
accent
#E245DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #1A175A

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

Preview Lab → · Contrast checker → · Palette generator →

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