#1A397A#1A397A

#1A397A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.117 H 262.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1A397A
RGBrgb(26, 57, 122)
HSLhsl(221, 65%, 29%)
HSVhsv(221, 79%, 48%)
CMYKcmyk(78.7%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.41, 13.72, -40.36)
CIE-LCHlch(25.41, 42.63, 288.77°)
OKLaboklab(36.17% -0.0147 -0.1161)
OKLCHoklch(36.17% 0.117 262.8)
XYZxyz(5.4007, 4.5504, 19.0023)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A397A #7A5B1A
analogous
#1A697A #1A397A #2B1A7A
triadic
#1A397A #7A1A39 #397A1A
tetradic
#1A397A #7A1A69 #7A5B1A #1A7A2B
square
#1A397A #7A1A69 #7A5B1A #1A7A2B
split-complementary
#1A397A #7A2B1A #697A1A
monochromatic
#050C19 #0F2148 #1A397A #2551AC #396CD5

Accessibility & contrast

On white

10.99
#1A397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1A397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A397A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A397A#FFFFFF#000000##FFFFFF
##1A397A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a397a;
/* rgb */ color: rgb(26, 57, 122);
/* oklch */ color: oklch(36.2% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#666ea1',
    500: '#1a397a',
    950: '#000000',
  },
}
SCSS
$custom: #1a397a;
$custom-light: #666ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a397a",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 220.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.11708,
    "h": 262.8
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#1A397A
secondary
#AE8B41
accent
#B240E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A397A

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

Preview Lab → · Contrast checker → · Palette generator →

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