#1A165E#1A165E

#1A165E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.122 H 276.4°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1A165E
RGBrgb(26, 22, 94)
HSLhsl(243, 62%, 23%)
HSVhsv(243, 77%, 37%)
CMYKcmyk(72.3%, 76.6%, 0%, 63.1%)
CIE-LABlab(13.24, 27.15, -42.03)
CIE-LCHlch(13.24, 50.04, 302.86°)
OKLaboklab(26.36% 0.0136 -0.1214)
OKLCHoklch(26.36% 0.122 276.4)
XYZxyz(2.7326, 1.6013, 10.7526)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A165E #5A5E16
analogous
#16365E #1A165E #3E165E
triadic
#1A165E #5E1A16 #165E1A
tetradic
#1A165E #5E1636 #5A5E16 #165E3E
square
#1A165E #5E1636 #5A5E16 #165E3E
split-complementary
#1A165E #5E3E16 #365E16
monochromatic
#070619 #0C0A2C #1A165E #282290 #352DC1

Accessibility & contrast

On white

15.90
#1A165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A165E
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A165E#FFFFFF#000000##FFFFFF
##1A165E1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a165e;
/* rgb */ color: rgb(26, 22, 94);
/* oklch */ color: oklch(26.4% 0.122 276.4);
Tailwind
colors: {
  custom: {
    50: '#62548c',
    500: '#1a165e',
    950: '#000000',
  },
}
SCSS
$custom: #1a165e;
$custom-light: #62548c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a165e",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 243.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26363,
    "c": 0.12219,
    "h": 276.4
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#1A165E
secondary
#90953B
accent
#E543DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A165E

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

Preview Lab → · Contrast checker → · Palette generator →

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