#1A165C#1A165C

#1A165C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.119 H 276.7°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#1A165C
RGBrgb(26, 22, 92)
HSLhsl(243, 61%, 22%)
HSVhsv(243, 76%, 36%)
CMYKcmyk(71.7%, 76.1%, 0%, 63.9%)
CIE-LABlab(13.02, 26.41, -41.05)
CIE-LCHlch(13.02, 48.81, 302.75°)
OKLaboklab(26.14% 0.014 -0.1186)
OKLCHoklch(26.14% 0.119 276.7)
XYZxyz(2.6440, 1.5659, 10.2861)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A165C #585C16
analogous
#16355C #1A165C #3D165C
triadic
#1A165C #5C1A16 #165C1A
tetradic
#1A165C #5C1635 #585C16 #165C3D
square
#1A165C #5C1635 #585C16 #165C3D
split-complementary
#1A165C #5C3D16 #355C16
monochromatic
#070619 #0C0A2B #1A165C #28228D #362EBF

Accessibility & contrast

On white

15.99
#1A165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A165C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A165C#FFFFFF#000000##FFFFFF
##1A165C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a165c;
/* rgb */ color: rgb(26, 22, 92);
/* oklch */ color: oklch(26.1% 0.119 276.7);
Tailwind
colors: {
  custom: {
    50: '#61548b',
    500: '#1a165c',
    950: '#000000',
  },
}
SCSS
$custom: #1a165c;
$custom-light: #61548b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a165c",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 243.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26142,
    "c": 0.11939,
    "h": 276.7
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#1A165C
secondary
#8E933B
accent
#E543DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A165C

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

Preview Lab → · Contrast checker → · Palette generator →

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