#1A1950#1A1950

#1A1950 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.098 H 277.7°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#1A1950
RGBrgb(26, 25, 80)
HSLhsl(241, 52%, 21%)
HSVhsv(241, 69%, 31%)
CMYKcmyk(67.5%, 68.8%, 0%, 68.6%)
CIE-LABlab(12.57, 19.81, -33.66)
CIE-LCHlch(12.57, 39.05, 300.47°)
OKLaboklab(25.44% 0.0131 -0.0969)
OKLCHoklch(25.44% 0.098 277.7)
XYZxyz(2.2211, 1.4939, 7.7592)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1950 #4F5019
analogous
#193350 #1A1950 #351950
triadic
#1A1950 #501A19 #19501A
tetradic
#1A1950 #501933 #4F5019 #195035
square
#1A1950 #501933 #4F5019 #195035
split-complementary
#1A1950 #503519 #335019
monochromatic
#080717 #0B0A21 #1A1950 #29287F #3836AD

Accessibility & contrast

On white

16.17
#1A1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1A1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1950
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1950#FFFFFF#000000##FFFFFF
##1A19501.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a1950;
/* rgb */ color: rgb(26, 25, 80);
/* oklch */ color: oklch(25.4% 0.098 277.7);
Tailwind
colors: {
  custom: {
    50: '#5e5582',
    500: '#1a1950',
    950: '#000000',
  },
}
SCSS
$custom: #1a1950;
$custom-light: #5e5582;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1950",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 241.091,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25443,
    "c": 0.09779,
    "h": 277.7
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#1A1950
secondary
#85863E
accent
#DC4CD9
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030A
muted
#79787C

Preview Lab

Preview with #1A1950

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

Preview Lab → · Contrast checker → · Palette generator →

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