#1A2160#1A2160

#1A2160 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.111 H 272.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1A2160
RGBrgb(26, 33, 96)
HSLhsl(234, 57%, 24%)
HSVhsv(234, 73%, 38%)
CMYKcmyk(72.9%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.26, 20.35, -38.41)
CIE-LCHlch(16.26, 43.47, 297.92°)
OKLaboklab(28.62% 0.0046 -0.1108)
OKLCHoklch(28.62% 0.111 272.4)
XYZxyz(3.0805, 2.1516, 11.3170)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2160 #60591A
analogous
#1A4460 #1A2160 #361A60
triadic
#1A2160 #601A21 #21601A
tetradic
#1A2160 #601A44 #60591A #1A6036
square
#1A2160 #601A44 #60591A #1A6036
split-complementary
#1A2160 #60361A #44601A
monochromatic
#070818 #0D1030 #1A2160 #273290 #3442C0

Accessibility & contrast

On white

14.68
#1A2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2160
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2160#FFFFFF#000000##FFFFFF
##1A21601.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a2160;
/* rgb */ color: rgb(26, 33, 96);
/* oklch */ color: oklch(28.6% 0.111 272.4);
Tailwind
colors: {
  custom: {
    50: '#615c8e',
    500: '#1a2160',
    950: '#000000',
  },
}
SCSS
$custom: #1a2160;
$custom-light: #615c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2160",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 234,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28622,
    "c": 0.11088,
    "h": 272.4
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#1A2160
secondary
#968D40
accent
#D147E1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A2160

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

Preview Lab → · Contrast checker → · Palette generator →

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