#1A1D75#1A1D75

#1A1D75 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.146 H 272.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#1A1D75
RGBrgb(26, 29, 117)
HSLhsl(238, 64%, 28%)
HSVhsv(238, 78%, 46%)
CMYKcmyk(77.8%, 75.2%, 0%, 54.1%)
CIE-LABlab(17.38, 31.13, -50.30)
CIE-LCHlch(17.38, 59.15, 301.76°)
OKLaboklab(30.08% 0.0052 -0.1456)
OKLCHoklch(30.08% 0.146 272)
XYZxyz(4.0752, 2.3823, 17.0712)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D75 #75721A
analogous
#1A4A75 #1A1D75 #441A75
triadic
#1A1D75 #751A1D #1D751A
tetradic
#1A1D75 #751A4A #75721A #1A7544
square
#1A1D75 #751A4A #75721A #1A7544
split-complementary
#1A1D75 #75441A #4A751A
monochromatic
#060619 #0F1143 #1A1D75 #2529A7 #373CD3

Accessibility & contrast

On white

14.22
#1A1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A1D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D75
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D75#FFFFFF#000000##FFFFFF
##1A1D751.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a1d75;
/* rgb */ color: rgb(26, 29, 117);
/* oklch */ color: oklch(30.1% 0.146 272.0);
Tailwind
colors: {
  custom: {
    50: '#675a9e',
    500: '#1a1d75',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d75;
$custom-light: #675a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d75",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 238.022,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30079,
    "c": 0.14565,
    "h": 272
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#1A1D75
secondary
#AAA641
accent
#E141E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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