#1A185E#1A185E

#1A185E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.120 H 275.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#1A185E
RGBrgb(26, 24, 94)
HSLhsl(242, 59%, 23%)
HSVhsv(242, 74%, 37%)
CMYKcmyk(72.3%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.71, 25.83, -41.25)
CIE-LCHlch(13.71, 48.67, 302.06°)
OKLaboklab(26.7% 0.0122 -0.1191)
OKLCHoklch(26.7% 0.12 275.8)
XYZxyz(2.7724, 1.6808, 10.7658)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A185E #5C5E18
analogous
#18395E #1A185E #3D185E
triadic
#1A185E #5E1A18 #185E1A
tetradic
#1A185E #5E1839 #5C5E18 #185E3D
square
#1A185E #5E1839 #5C5E18 #185E3D
split-complementary
#1A185E #5E3D18 #395E18
monochromatic
#070618 #0D0C2D #1A185E #27248F #3531C0

Accessibility & contrast

On white

15.72
#1A185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1A185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A185E
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A185E#FFFFFF#000000##FFFFFF
##1A185E1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a185e;
/* rgb */ color: rgb(26, 24, 94);
/* oklch */ color: oklch(26.7% 0.120 275.8);
Tailwind
colors: {
  custom: {
    50: '#62558c',
    500: '#1a185e',
    950: '#000000',
  },
}
SCSS
$custom: #1a185e;
$custom-light: #62558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a185e",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 241.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26704,
    "c": 0.11977,
    "h": 275.8
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#1A185E
secondary
#92943D
accent
#E345DE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1A185E

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

Preview Lab → · Contrast checker → · Palette generator →

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