#1A1972#1A1972

#1A1972 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.146 H 273.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1A1972
RGBrgb(26, 25, 114)
HSLhsl(241, 64%, 27%)
HSVhsv(241, 78%, 45%)
CMYKcmyk(77.2%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.15, 32.53, -50.38)
CIE-LCHlch(16.15, 59.97, 302.85°)
OKLaboklab(29.11% 0.0078 -0.1458)
OKLCHoklch(29.11% 0.146 273.1)
XYZxyz(3.8099, 2.1294, 16.1266)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1972 #717219
analogous
#194572 #1A1972 #471972
triadic
#1A1972 #721A19 #19721A
tetradic
#1A1972 #721945 #717219 #197247
square
#1A1972 #721945 #717219 #197247
split-complementary
#1A1972 #724719 #457219
monochromatic
#060619 #0F0E40 #1A1972 #2524A4 #3533D2

Accessibility & contrast

On white

14.73
#1A1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1972
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1972#FFFFFF#000000##FFFFFF
##1A19721.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a1972;
/* rgb */ color: rgb(26, 25, 114);
/* oklch */ color: oklch(29.1% 0.146 273.1);
Tailwind
colors: {
  custom: {
    50: '#67579c',
    500: '#1a1972',
    950: '#000000',
  },
}
SCSS
$custom: #1a1972;
$custom-light: #67579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1972",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 240.674,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29106,
    "c": 0.146,
    "h": 273.1
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#1A1972
secondary
#A6A740
accent
#E741E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1972

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

Preview Lab → · Contrast checker → · Palette generator →

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