#1A1773#1A1773

#1A1773 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.149 H 273.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#1A1773
RGBrgb(26, 23, 115)
HSLhsl(242, 67%, 27%)
HSVhsv(242, 80%, 45%)
CMYKcmyk(77.4%, 80%, 0%, 54.9%)
CIE-LABlab(15.85, 34.08, -51.53)
CIE-LCHlch(15.85, 61.78, 303.48°)
OKLaboklab(28.93% 0.0086 -0.1491)
OKLCHoklch(28.93% 0.149 273.3)
XYZxyz(3.8259, 2.0698, 16.4142)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1773 #707317
analogous
#174273 #1A1773 #481773
triadic
#1A1773 #731A17 #17731A
tetradic
#1A1773 #731742 #707317 #177348
square
#1A1773 #731742 #707317 #177348
split-complementary
#1A1773 #734817 #427317
monochromatic
#06051A #0E0D40 #1A1773 #2621A6 #342FD5

Accessibility & contrast

On white

14.85
#1A1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1773
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1773#FFFFFF#000000##FFFFFF
##1A17731.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a1773;
/* rgb */ color: rgb(26, 23, 115);
/* oklch */ color: oklch(28.9% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#67569c',
    500: '#1a1773',
    950: '#000000',
  },
}
SCSS
$custom: #1a1773;
$custom-light: #67569c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1773",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 241.957,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28927,
    "c": 0.14934,
    "h": 273.3
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#1A1773
secondary
#A5A93D
accent
#EA3EE4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1773

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

Preview Lab → · Contrast checker → · Palette generator →

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