#1A397B#1A397B

#1A397B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.119 H 262.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1A397B
RGBrgb(26, 57, 123)
HSLhsl(221, 65%, 29%)
HSVhsv(221, 79%, 48%)
CMYKcmyk(78.9%, 53.7%, 0%, 51.8%)
CIE-LABlab(25.49, 14.13, -40.87)
CIE-LCHlch(25.49, 43.25, 289.07°)
OKLaboklab(36.25% -0.0146 -0.1176)
OKLCHoklch(36.25% 0.119 262.9)
XYZxyz(5.4630, 4.5753, 19.3303)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A397B #7B5C1A
analogous
#1A6A7B #1A397B #2C1A7B
triadic
#1A397B #7B1A39 #397B1A
tetradic
#1A397B #7B1A6A #7B5C1A #1A7B2C
square
#1A397B #7B1A6A #7B5C1A #1A7B2C
split-complementary
#1A397B #7B2C1A #6A7B1A
monochromatic
#050C19 #0F2248 #1A397B #2550AE #3A6CD5

Accessibility & contrast

On white

10.96
#1A397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1A397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A397B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A397B#FFFFFF#000000##FFFFFF
##1A397B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a397b;
/* rgb */ color: rgb(26, 57, 123);
/* oklch */ color: oklch(36.3% 0.119 262.9);
Tailwind
colors: {
  custom: {
    50: '#666ea2',
    500: '#1a397b',
    950: '#000000',
  },
}
SCSS
$custom: #1a397b;
$custom-light: #666ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a397b",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 220.825,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36255,
    "c": 0.11854,
    "h": 262.9
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A397B

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

Preview Lab → · Contrast checker → · Palette generator →

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