#1A185C#1A185C

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

Color values

HEX#1A185C
RGBrgb(26, 24, 92)
HSLhsl(242, 59%, 23%)
HSVhsv(242, 74%, 36%)
CMYKcmyk(71.7%, 73.9%, 0%, 63.9%)
CIE-LABlab(13.50, 25.08, -40.26)
CIE-LCHlch(13.50, 47.43, 301.93°)
OKLaboklab(26.49% 0.0125 -0.1162)
OKLCHoklch(26.49% 0.117 276.1)
XYZxyz(2.6838, 1.6454, 10.2993)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A185C #5A5C18
analogous
#18385C #1A185C #3C185C
triadic
#1A185C #5C1A18 #185C1A
tetradic
#1A185C #5C1838 #5A5C18 #185C3C
square
#1A185C #5C1838 #5A5C18 #185C3C
split-complementary
#1A185C #5C3C18 #385C18
monochromatic
#070618 #0C0B2B #1A185C #28258D #3531BD

Accessibility & contrast

On white

15.80
#1A185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A185C
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A185C#FFFFFF#000000##FFFFFF
##1A185C1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a185c;
/* rgb */ color: rgb(26, 24, 92);
/* oklch */ color: oklch(26.5% 0.117 276.1);
Tailwind
colors: {
  custom: {
    50: '#61558b',
    500: '#1a185c',
    950: '#000000',
  },
}
SCSS
$custom: #1a185c;
$custom-light: #61558b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a185c",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 241.765,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26489,
    "c": 0.11692,
    "h": 276.1
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#1A185C
secondary
#90933D
accent
#E246DD
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #1A185C

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

Preview Lab → · Contrast checker → · Palette generator →

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