#1A1970#1A1970

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

Color values

HEX#1A1970
RGBrgb(26, 25, 112)
HSLhsl(241, 64%, 27%)
HSVhsv(241, 78%, 44%)
CMYKcmyk(76.8%, 77.7%, 0%, 56.1%)
CIE-LABlab(15.92, 31.81, -49.46)
CIE-LCHlch(15.92, 58.81, 302.75°)
OKLaboklab(28.88% 0.0082 -0.1431)
OKLCHoklch(28.88% 0.143 273.3)
XYZxyz(3.6973, 2.0843, 15.5336)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1970 #6F7019
analogous
#194470 #1A1970 #461970
triadic
#1A1970 #701A19 #19701A
tetradic
#1A1970 #701944 #6F7019 #197046
square
#1A1970 #701944 #6F7019 #197046
split-complementary
#1A1970 #704619 #447019
monochromatic
#060619 #0E0E3E #1A1970 #2624A2 #3432D1

Accessibility & contrast

On white

14.82
#1A1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1970
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1970#FFFFFF#000000##FFFFFF
##1A19701.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a1970;
/* rgb */ color: rgb(26, 25, 112);
/* oklch */ color: oklch(28.9% 0.143 273.3);
Tailwind
colors: {
  custom: {
    50: '#66579a',
    500: '#1a1970',
    950: '#000000',
  },
}
SCSS
$custom: #1a1970;
$custom-light: #66579a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1970",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 240.69,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28877,
    "c": 0.14335,
    "h": 273.3
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1970

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

Preview Lab → · Contrast checker → · Palette generator →

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