#1A1679#1A1679

#1A1679 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.158 H 272.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1A1679
RGBrgb(26, 22, 121)
HSLhsl(242, 69%, 28%)
HSVhsv(242, 82%, 47%)
CMYKcmyk(78.5%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.37, 36.71, -54.53)
CIE-LCHlch(16.37, 65.73, 303.95°)
OKLaboklab(29.51% 0.0076 -0.1578)
OKLCHoklch(29.51% 0.158 272.7)
XYZxyz(4.1629, 2.1735, 18.2856)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1679 #757916
analogous
#164379 #1A1679 #4B1679
triadic
#1A1679 #791A16 #16791A
tetradic
#1A1679 #791643 #757916 #16794B
square
#1A1679 #791643 #757916 #16794B
split-complementary
#1A1679 #794B16 #437916
monochromatic
#06051A #0F0D45 #1A1679 #251FAD #3730D9

Accessibility & contrast

On white

14.64
#1A1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1679
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1679#FFFFFF#000000##FFFFFF
##1A16791.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1679;
/* rgb */ color: rgb(26, 22, 121);
/* oklch */ color: oklch(29.5% 0.158 272.7);
Tailwind
colors: {
  custom: {
    50: '#6956a1',
    500: '#1a1679',
    950: '#000000',
  },
}
SCSS
$custom: #1a1679;
$custom-light: #6956a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1679",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 242.424,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29505,
    "c": 0.15797,
    "h": 272.7
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#1A1679
secondary
#AAAE3D
accent
#EC3CE5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1679

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

Preview Lab → · Contrast checker → · Palette generator →

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