#1A4096#1A4096

#1A4096 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.148 H 263.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1A4096
RGBrgb(26, 64, 150)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 83%, 59%)
CMYKcmyk(82.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.63, 20.24, -50.91)
CIE-LCHlch(29.63, 54.78, 291.68°)
OKLaboklab(40.06% -0.0173 -0.147)
OKLCHoklch(40.06% 0.148 263.3)
XYZxyz(7.7624, 6.0875, 29.6141)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4096 #96701A
analogous
#1A7E96 #1A4096 #321A96
triadic
#1A4096 #961A40 #40961A
tetradic
#1A4096 #961A7E #96701A #1A9632
square
#1A4096 #961A7E #96701A #1A9632
split-complementary
#1A4096 #96321A #7E961A
monochromatic
#08132E #112A62 #1A4096 #2356CA #4B78E0

Accessibility & contrast

On white

9.47
#1A4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4096
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4096#FFFFFF#000000##FFFFFF
##1A40961.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4096;
/* rgb */ color: rgb(26, 64, 150);
/* oklch */ color: oklch(40.1% 0.148 263.3);
Tailwind
colors: {
  custom: {
    50: '#6d74b6',
    500: '#1a4096',
    950: '#000000',
  },
}
SCSS
$custom: #1a4096;
$custom-light: #6d74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4096",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 221.613,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.14803,
    "h": 263.3
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#1A4096
secondary
#C29D4A
accent
#B63BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A4096

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

Preview Lab → · Contrast checker → · Palette generator →

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