#1A185D#1A185D

#1A185D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.118 H 276.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#1A185D
RGBrgb(26, 24, 93)
HSLhsl(242, 59%, 23%)
HSVhsv(242, 74%, 36%)
CMYKcmyk(72%, 74.2%, 0%, 63.5%)
CIE-LABlab(13.61, 25.46, -40.76)
CIE-LCHlch(13.61, 48.05, 301.99°)
OKLaboklab(26.6% 0.0124 -0.1177)
OKLCHoklch(26.6% 0.118 276)
XYZxyz(2.7278, 1.6630, 10.5310)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A185D #5B5D18
analogous
#18385D #1A185D #3C185D
triadic
#1A185D #5D1A18 #185D1A
tetradic
#1A185D #5D1838 #5B5D18 #185D3C
square
#1A185D #5D1838 #5B5D18 #185D3C
split-complementary
#1A185D #5D3C18 #385D18
monochromatic
#070618 #0C0B2C #1A185D #28258E #3531BE

Accessibility & contrast

On white

15.76
#1A185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1A185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A185D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A185D#FFFFFF#000000##FFFFFF
##1A185D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a185d;
/* rgb */ color: rgb(26, 24, 93);
/* oklch */ color: oklch(26.6% 0.118 276.0);
Tailwind
colors: {
  custom: {
    50: '#61558c',
    500: '#1a185d',
    950: '#000000',
  },
}
SCSS
$custom: #1a185d;
$custom-light: #61558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a185d",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 241.739,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26596,
    "c": 0.11835,
    "h": 276
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#1A185D
secondary
#91933D
accent
#E246DE
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1A185D

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

Preview Lab → · Contrast checker → · Palette generator →

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