#1A1180#1A1180

#1A1180 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.171 H 272.4°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1A1180
RGBrgb(26, 17, 128)
HSLhsl(245, 77%, 28%)
HSVhsv(245, 87%, 50%)
CMYKcmyk(79.7%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.40, 41.52, -58.96)
CIE-LCHlch(16.40, 72.11, 305.16°)
OKLaboklab(29.78% 0.0073 -0.1705)
OKLCHoklch(29.78% 0.171 272.4)
XYZxyz(4.5214, 2.1785, 20.6001)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1180 #778011
analogous
#113F80 #1A1180 #511180
triadic
#1A1180 #801A11 #11801A
tetradic
#1A1180 #80113F #778011 #118051
square
#1A1180 #80113F #778011 #118051
split-complementary
#1A1180 #805111 #3F8011
monochromatic
#05041B #0F0A4A #1A1180 #2518B6 #3829E3

Accessibility & contrast

On white

14.63
#1A1180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A1180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1180
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1180#FFFFFF#000000##FFFFFF
##1A11801.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1180;
/* rgb */ color: rgb(26, 17, 128);
/* oklch */ color: oklch(29.8% 0.171 272.4);
Tailwind
colors: {
  custom: {
    50: '#6b53a6',
    500: '#1a1180',
    950: '#000000',
  },
}
SCSS
$custom: #1a1180;
$custom-light: #6b53a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1180",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 244.865,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29777,
    "c": 0.17069,
    "h": 272.4
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#1A1180
secondary
#ACB637
accent
#F335E4
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1180

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

Preview Lab → · Contrast checker → · Palette generator →

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