#1A165D#1A165D

#1A165D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.121 H 276.6°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#1A165D
RGBrgb(26, 22, 93)
HSLhsl(243, 62%, 23%)
HSVhsv(243, 76%, 36%)
CMYKcmyk(72%, 76.3%, 0%, 63.5%)
CIE-LABlab(13.13, 26.78, -41.54)
CIE-LCHlch(13.13, 49.43, 302.81°)
OKLaboklab(26.25% 0.0138 -0.12)
OKLCHoklch(26.25% 0.121 276.6)
XYZxyz(2.6881, 1.5835, 10.5178)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A165D #595D16
analogous
#16365D #1A165D #3D165D
triadic
#1A165D #5D1A16 #165D1A
tetradic
#1A165D #5D1636 #595D16 #165D3D
square
#1A165D #5D1636 #595D16 #165D3D
split-complementary
#1A165D #5D3D16 #365D16
monochromatic
#070619 #0C0A2C #1A165D #28228E #362DC0

Accessibility & contrast

On white

15.95
#1A165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A165D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A165D#FFFFFF#000000##FFFFFF
##1A165D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a165d;
/* rgb */ color: rgb(26, 22, 93);
/* oklch */ color: oklch(26.3% 0.121 276.6);
Tailwind
colors: {
  custom: {
    50: '#61548c',
    500: '#1a165d',
    950: '#000000',
  },
}
SCSS
$custom: #1a165d;
$custom-light: #61548c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a165d",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 243.38,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26253,
    "c": 0.1208,
    "h": 276.6
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#1A165D
secondary
#8F943B
accent
#E543DC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A165D

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

Preview Lab → · Contrast checker → · Palette generator →

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