#1A175D#1A175D

#1A175D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.120 H 276.3°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#1A175D
RGBrgb(26, 23, 93)
HSLhsl(243, 60%, 23%)
HSVhsv(243, 75%, 36%)
CMYKcmyk(72%, 75.3%, 0%, 63.5%)
CIE-LABlab(13.37, 26.12, -41.15)
CIE-LCHlch(13.37, 48.74, 302.41°)
OKLaboklab(26.42% 0.0131 -0.1189)
OKLCHoklch(26.42% 0.12 276.3)
XYZxyz(2.7075, 1.6225, 10.5243)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A175D #5A5D17
analogous
#17375D #1A175D #3D175D
triadic
#1A175D #5D1A17 #175D1A
tetradic
#1A175D #5D1737 #5A5D17 #175D3D
square
#1A175D #5D1737 #5A5D17 #175D3D
split-complementary
#1A175D #5D3D17 #375D17
monochromatic
#070619 #0C0B2C #1A175D #28238E #352FBF

Accessibility & contrast

On white

15.85
#1A175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A175D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A175D#FFFFFF#000000##FFFFFF
##1A175D1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a175d;
/* rgb */ color: rgb(26, 23, 93);
/* oklch */ color: oklch(26.4% 0.120 276.3);
Tailwind
colors: {
  custom: {
    50: '#61558c',
    500: '#1a175d',
    950: '#000000',
  },
}
SCSS
$custom: #1a175d;
$custom-light: #61558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a175d",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 242.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.11959,
    "h": 276.3
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#1A175D
secondary
#90943C
accent
#E344DD
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1A175D

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

Preview Lab → · Contrast checker → · Palette generator →

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