#1A185B#1A185B

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

Color values

HEX#1A185B
RGBrgb(26, 24, 91)
HSLhsl(242, 58%, 23%)
HSVhsv(242, 74%, 36%)
CMYKcmyk(71.4%, 73.6%, 0%, 64.3%)
CIE-LABlab(13.40, 24.71, -39.76)
CIE-LCHlch(13.40, 46.81, 301.86°)
OKLaboklab(26.38% 0.0127 -0.1148)
OKLCHoklch(26.38% 0.115 276.3)
XYZxyz(2.6403, 1.6280, 10.0706)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A185B #595B18
analogous
#18375B #1A185B #3B185B
triadic
#1A185B #5B1A18 #185B1A
tetradic
#1A185B #5B1837 #595B18 #185B3B
square
#1A185B #5B1837 #595B18 #185B3B
split-complementary
#1A185B #5B3B18 #375B18
monochromatic
#070618 #0C0B2B #1A185B #28258B #3632BC

Accessibility & contrast

On white

15.84
#1A185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A185B
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A185B#FFFFFF#000000##FFFFFF
##1A185B1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a185b;
/* rgb */ color: rgb(26, 24, 91);
/* oklch */ color: oklch(26.4% 0.115 276.3);
Tailwind
colors: {
  custom: {
    50: '#61558a',
    500: '#1a185b',
    950: '#000000',
  },
}
SCSS
$custom: #1a185b;
$custom-light: #61558a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a185b",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 241.791,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26382,
    "c": 0.11549,
    "h": 276.3
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#1A185B
secondary
#8F923D
accent
#E146DD
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #1A185B

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

Preview Lab → · Contrast checker → · Palette generator →

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