#1A397D#1A397D

#1A397D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.121 H 263.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1A397D
RGBrgb(26, 57, 125)
HSLhsl(221, 66%, 30%)
HSVhsv(221, 79%, 49%)
CMYKcmyk(79.2%, 54.4%, 0%, 51%)
CIE-LABlab(25.64, 14.95, -41.89)
CIE-LCHlch(25.64, 44.48, 289.64°)
OKLaboklab(36.42% -0.0143 -0.1206)
OKLCHoklch(36.42% 0.121 263.2)
XYZxyz(5.5895, 4.6259, 19.9964)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A397D #7D5E1A
analogous
#1A6B7D #1A397D #2C1A7D
triadic
#1A397D #7D1A39 #397D1A
tetradic
#1A397D #7D1A6B #7D5E1A #1A7D2C
square
#1A397D #7D1A6B #7D5E1A #1A7D2C
split-complementary
#1A397D #7D2C1A #6B7D1A
monochromatic
#050C19 #0F224A #1A397D #2550B0 #3B6CD6

Accessibility & contrast

On white

10.91
#1A397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A397D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A397D#FFFFFF#000000##FFFFFF
##1A397D1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09427F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a397d;
/* rgb */ color: rgb(26, 57, 125);
/* oklch */ color: oklch(36.4% 0.121 263.2);
Tailwind
colors: {
  custom: {
    50: '#676ea3',
    500: '#1a397d',
    950: '#000000',
  },
}
SCSS
$custom: #1a397d;
$custom-light: #676ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a397d",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 221.212,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.12148,
    "h": 263.2
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#1A397D
secondary
#B18E42
accent
#B43FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A397D

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

Preview Lab → · Contrast checker → · Palette generator →

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