#1A1674#1A1674

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

Color values

HEX#1A1674
RGBrgb(26, 22, 116)
HSLhsl(243, 68%, 27%)
HSVhsv(243, 81%, 45%)
CMYKcmyk(77.6%, 81%, 0%, 54.5%)
CIE-LABlab(15.77, 35.00, -52.31)
CIE-LCHlch(15.77, 62.94, 303.78°)
OKLaboklab(28.9% 0.0088 -0.1514)
OKLCHoklch(28.9% 0.152 273.3)
XYZxyz(3.8642, 2.0540, 16.7124)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1674 #707416
analogous
#164174 #1A1674 #491674
triadic
#1A1674 #741A16 #16741A
tetradic
#1A1674 #741641 #707416 #167449
square
#1A1674 #741641 #707416 #167449
split-complementary
#1A1674 #744916 #417416
monochromatic
#06051A #0E0C41 #1A1674 #2620A7 #342DD7

Accessibility & contrast

On white

14.89
#1A1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1674
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1674#FFFFFF#000000##FFFFFF
##1A16741.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1674;
/* rgb */ color: rgb(26, 22, 116);
/* oklch */ color: oklch(28.9% 0.152 273.3);
Tailwind
colors: {
  custom: {
    50: '#68559d',
    500: '#1a1674',
    950: '#000000',
  },
}
SCSS
$custom: #1a1674;
$custom-light: #68559d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1674",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 242.553,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28905,
    "c": 0.15161,
    "h": 273.3
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#1A1674
secondary
#A5AA3C
accent
#EB3DE4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1674

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

Preview Lab → · Contrast checker → · Palette generator →

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