#1A1774#1A1774

#1A1774 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.151 H 273.2°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1A1774
RGBrgb(26, 23, 116)
HSLhsl(242, 67%, 27%)
HSVhsv(242, 80%, 45%)
CMYKcmyk(77.6%, 80.2%, 0%, 54.5%)
CIE-LABlab(15.97, 34.42, -51.98)
CIE-LCHlch(15.97, 62.34, 303.51°)
OKLaboklab(29.05% 0.0083 -0.1504)
OKLCHoklch(29.05% 0.151 273.2)
XYZxyz(3.8837, 2.0930, 16.7189)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1774 #717417
analogous
#174374 #1A1774 #481774
triadic
#1A1774 #741A17 #17741A
tetradic
#1A1774 #741743 #717417 #177448
square
#1A1774 #741743 #717417 #177448
split-complementary
#1A1774 #744817 #437417
monochromatic
#06051A #0F0D41 #1A1774 #2521A7 #3530D6

Accessibility & contrast

On white

14.80
#1A1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1774
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1774#FFFFFF#000000##FFFFFF
##1A17741.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a1774;
/* rgb */ color: rgb(26, 23, 116);
/* oklch */ color: oklch(29.0% 0.151 273.2);
Tailwind
colors: {
  custom: {
    50: '#68569d',
    500: '#1a1774',
    950: '#000000',
  },
}
SCSS
$custom: #1a1774;
$custom-light: #68569d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1774",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 241.935,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29045,
    "c": 0.15064,
    "h": 273.2
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#1A1774
secondary
#A6A93D
accent
#EA3EE4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1774

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

Preview Lab → · Contrast checker → · Palette generator →

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