#1A175B#1A175B

#1A175B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.117 H 276.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#1A175B
RGBrgb(26, 23, 91)
HSLhsl(243, 60%, 22%)
HSVhsv(243, 75%, 36%)
CMYKcmyk(71.4%, 74.7%, 0%, 64.3%)
CIE-LABlab(13.15, 25.38, -40.16)
CIE-LCHlch(13.15, 47.51, 302.29°)
OKLaboklab(26.21% 0.0135 -0.116)
OKLCHoklch(26.21% 0.117 276.6)
XYZxyz(2.6201, 1.5875, 10.0638)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A175B #585B17
analogous
#17365B #1A175B #3C175B
triadic
#1A175B #5B1A17 #175B1A
tetradic
#1A175B #5B1736 #585B17 #175B3C
square
#1A175B #5B1736 #585B17 #175B3C
split-complementary
#1A175B #5B3C17 #365B17
monochromatic
#070618 #0C0B2A #1A175B #28238C #3630BD

Accessibility & contrast

On white

15.94
#1A175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A175B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A175B#FFFFFF#000000##FFFFFF
##1A175B1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a175b;
/* rgb */ color: rgb(26, 23, 91);
/* oklch */ color: oklch(26.2% 0.117 276.6);
Tailwind
colors: {
  custom: {
    50: '#61548a',
    500: '#1a175b',
    950: '#000000',
  },
}
SCSS
$custom: #1a175b;
$custom-light: #61548a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a175b",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 242.647,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26205,
    "c": 0.11675,
    "h": 276.6
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#1A175B
secondary
#8E923C
accent
#E345DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #1A175B

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

Preview Lab → · Contrast checker → · Palette generator →

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