#1A3197#1A3197

#1A3197 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.168 H 267.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1A3197
RGBrgb(26, 49, 151)
HSLhsl(229, 71%, 35%)
HSVhsv(229, 83%, 59%)
CMYKcmyk(82.8%, 67.5%, 0%, 40.8%)
CIE-LABlab(25.71, 30.86, -57.93)
CIE-LCHlch(25.71, 65.63, 298.05°)
OKLaboklab(37.17% -0.0085 -0.1678)
OKLCHoklch(37.17% 0.168 267.1)
XYZxyz(7.1083, 4.6498, 29.7950)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3197 #97801A
analogous
#1A7097 #1A3197 #421A97
triadic
#1A3197 #971A31 #31971A
tetradic
#1A3197 #971A70 #97801A #1A9742
square
#1A3197 #971A70 #97801A #1A9742
split-complementary
#1A3197 #97421A #70971A
monochromatic
#080F2F #112063 #1A3197 #2342CB #4B67E0

Accessibility & contrast

On white

10.88
#1A3197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1A3197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3197
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3197#FFFFFF#000000##FFFFFF
##1A31971.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3197;
/* rgb */ color: rgb(26, 49, 151);
/* oklch */ color: oklch(37.2% 0.168 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e69b7',
    500: '#1a3197',
    950: '#000000',
  },
}
SCSS
$custom: #1a3197;
$custom-light: #6e69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3197",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 228.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37173,
    "c": 0.16799,
    "h": 267.1
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#1A3197
secondary
#C2AC4B
accent
#CC3AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1A3197

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

Preview Lab → · Contrast checker → · Palette generator →

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