#1A1672#1A1672

#1A1672 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.149 H 273.6°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#1A1672
RGBrgb(26, 22, 114)
HSLhsl(243, 68%, 27%)
HSVhsv(243, 81%, 45%)
CMYKcmyk(77.2%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.53, 34.30, -51.41)
CIE-LCHlch(15.53, 61.81, 303.71°)
OKLaboklab(28.67% 0.0092 -0.1487)
OKLCHoklch(28.67% 0.149 273.6)
XYZxyz(3.7492, 2.0080, 16.1063)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1672 #6E7216
analogous
#164072 #1A1672 #481672
triadic
#1A1672 #721A16 #16721A
tetradic
#1A1672 #721640 #6E7216 #167248
square
#1A1672 #721640 #6E7216 #167248
split-complementary
#1A1672 #724816 #407216
monochromatic
#06051A #0E0C3F #1A1672 #2620A5 #342CD6

Accessibility & contrast

On white

14.98
#1A1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1672
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1672#FFFFFF#000000##FFFFFF
##1A16721.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a1672;
/* rgb */ color: rgb(26, 22, 114);
/* oklch */ color: oklch(28.7% 0.149 273.6);
Tailwind
colors: {
  custom: {
    50: '#67559c',
    500: '#1a1672',
    950: '#000000',
  },
}
SCSS
$custom: #1a1672;
$custom-light: #67559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1672",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 242.609,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28667,
    "c": 0.14904,
    "h": 273.6
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#1A1672
secondary
#A3A83C
accent
#EB3DE3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1672

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

Preview Lab → · Contrast checker → · Palette generator →

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