#1A1D83#1A1D83

#1A1D83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.164 H 271.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1A1D83
RGBrgb(26, 29, 131)
HSLhsl(238, 67%, 31%)
HSVhsv(238, 80%, 51%)
CMYKcmyk(80.2%, 77.9%, 0%, 48.6%)
CIE-LABlab(18.96, 36.18, -56.62)
CIE-LCHlch(18.96, 67.19, 302.58°)
OKLaboklab(31.67% 0.0028 -0.164)
OKLCHoklch(31.67% 0.164 271)
XYZxyz(4.9607, 2.7365, 21.7351)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D83 #83801A
analogous
#1A5183 #1A1D83 #4B1A83
triadic
#1A1D83 #831A1D #1D831A
tetradic
#1A1D83 #831A51 #83801A #1A834B
square
#1A1D83 #831A51 #83801A #1A834B
split-complementary
#1A1D83 #834B1A #51831A
monochromatic
#06061D #101250 #1A1D83 #2428B6 #3F43D9

Accessibility & contrast

On white

13.57
#1A1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D83
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D83#FFFFFF#000000##FFFFFF
##1A1D831.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1d83;
/* rgb */ color: rgb(26, 29, 131);
/* oklch */ color: oklch(31.7% 0.164 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b5aa8',
    500: '#1a1d83',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d83;
$custom-light: #6b5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d83",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 238.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3167,
    "c": 0.16397,
    "h": 271
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#1A1D83
secondary
#B7B342
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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