#1A1173#1A1173

#1A1173 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.155 H 274.1°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#1A1173
RGBrgb(26, 17, 115)
HSLhsl(246, 74%, 26%)
HSVhsv(246, 85%, 45%)
CMYKcmyk(77.4%, 85.2%, 0%, 54.9%)
CIE-LABlab(14.72, 37.33, -53.40)
CIE-LCHlch(14.72, 65.15, 304.96°)
OKLaboklab(28.14% 0.011 -0.1544)
OKLCHoklch(28.14% 0.155 274.1)
XYZxyz(3.7199, 1.8579, 16.3789)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1173 #6A7311
analogous
#113973 #1A1173 #4B1173
triadic
#1A1173 #731A11 #11731A
tetradic
#1A1173 #731139 #6A7311 #11734B
square
#1A1173 #731139 #6A7311 #11734B
split-complementary
#1A1173 #734B11 #397311
monochromatic
#06041B #0E093E #1A1173 #2619A8 #3221DE

Accessibility & contrast

On white

15.31
#1A1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A1173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1173
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1173#FFFFFF#000000##FFFFFF
##1A11731.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a1173;
/* rgb */ color: rgb(26, 17, 115);
/* oklch */ color: oklch(28.1% 0.155 274.1);
Tailwind
colors: {
  custom: {
    50: '#68529c',
    500: '#1a1173',
    950: '#000000',
  },
}
SCSS
$custom: #1a1173;
$custom-light: #68529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1173",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 245.51,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28141,
    "c": 0.15481,
    "h": 274.1
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#1A1173
secondary
#9FAA36
accent
#F137E0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1173

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

Preview Lab → · Contrast checker → · Palette generator →

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