#1A3896#1A3896

#1A3896 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.158 H 265.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#1A3896
RGBrgb(26, 56, 150)
HSLhsl(225, 70%, 35%)
HSVhsv(225, 83%, 59%)
CMYKcmyk(82.7%, 62.7%, 0%, 41.2%)
CIE-LABlab(27.43, 25.74, -54.49)
CIE-LCHlch(27.43, 60.27, 295.29°)
OKLaboklab(38.41% -0.0122 -0.1577)
OKLCHoklch(38.41% 0.158 265.6)
XYZxyz(7.3433, 5.2491, 29.4744)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3896 #96781A
analogous
#1A7696 #1A3896 #3A1A96
triadic
#1A3896 #961A38 #38961A
tetradic
#1A3896 #961A76 #96781A #1A963A
square
#1A3896 #961A76 #96781A #1A963A
split-complementary
#1A3896 #963A1A #76961A
monochromatic
#08112E #112562 #1A3896 #234BCA #4B6FE0

Accessibility & contrast

On white

10.24
#1A3896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1A3896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3896
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3896#FFFFFF#000000##FFFFFF
##1A38961.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3896;
/* rgb */ color: rgb(26, 56, 150);
/* oklch */ color: oklch(38.4% 0.158 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e6eb6',
    500: '#1a3896',
    950: '#000000',
  },
}
SCSS
$custom: #1a3896;
$custom-light: #6e6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3896",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 225.484,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.15814,
    "h": 265.6
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#1A3896
secondary
#C2A54A
accent
#C23BED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3896

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

Preview Lab → · Contrast checker → · Palette generator →

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