#1A092C#1A092C

#1A092C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.068 H 302.7°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#1A092C
RGBrgb(26, 9, 44)
HSLhsl(269, 66%, 10%)
HSVhsv(269, 80%, 17%)
CMYKcmyk(40.9%, 79.5%, 0%, 82.7%)
CIE-LABlab(5.39, 16.56, -19.55)
CIE-LCHlch(5.39, 25.62, 310.26°)
OKLaboklab(18.93% 0.0368 -0.0572)
OKLCHoklch(18.93% 0.068 302.7)
XYZxyz(0.9782, 0.5968, 2.4460)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A092C #1B2C09
analogous
#09092C #1A092C #2B092C
triadic
#1A092C #2C1A09 #092C1A
tetradic
#1A092C #2C0909 #1B2C09 #092C2B
square
#1A092C #2C0909 #1B2C09 #092C2B
split-complementary
#1A092C #2C2B09 #092C09
monochromatic
#0F0519 #0F0519 #1A092C #38135F #561E92

Accessibility & contrast

On white

18.76
#1A092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A092C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A092C
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A092C#FFFFFF#000000##FFFFFF
##1A092C1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#01122B
Tritanopia (blue-blind)
#161119
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a092c;
/* rgb */ color: rgb(26, 9, 44);
/* oklch */ color: oklch(18.9% 0.068 302.7);
Tailwind
colors: {
  custom: {
    50: '#584a65',
    500: '#1a092c',
    950: '#000000',
  },
}
SCSS
$custom: #1a092c;
$custom-light: #584a65;
$custom-dark: #000000;
JSON
{
  "hex": "#1a092c",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 269.143,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18925,
    "c": 0.06802,
    "h": 302.7
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#1A092C
secondary
#496A27
accent
#E93F96
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #1A092C

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

Preview Lab → · Contrast checker → · Palette generator →

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