#1A397C#1A397C

#1A397C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.120 H 263.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#1A397C
RGBrgb(26, 57, 124)
HSLhsl(221, 65%, 29%)
HSVhsv(221, 79%, 49%)
CMYKcmyk(79%, 54%, 0%, 51.4%)
CIE-LABlab(25.56, 14.54, -41.38)
CIE-LCHlch(25.56, 43.86, 289.36°)
OKLaboklab(36.34% -0.0144 -0.1191)
OKLCHoklch(36.34% 0.12 263.1)
XYZxyz(5.5259, 4.6005, 19.6616)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A397C #7C5D1A
analogous
#1A6A7C #1A397C #2C1A7C
triadic
#1A397C #7C1A39 #397C1A
tetradic
#1A397C #7C1A6A #7C5D1A #1A7C2C
square
#1A397C #7C1A6A #7C5D1A #1A7C2C
split-complementary
#1A397C #7C2C1A #6A7C1A
monochromatic
#050C19 #0F2249 #1A397C #2550AF #3B6CD6

Accessibility & contrast

On white

10.94
#1A397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A397C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A397C#FFFFFF#000000##FFFFFF
##1A397C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a397c;
/* rgb */ color: rgb(26, 57, 124);
/* oklch */ color: oklch(36.3% 0.120 263.1);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1a397c',
    950: '#000000',
  },
}
SCSS
$custom: #1a397c;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a397c",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 221.02,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36337,
    "c": 0.12001,
    "h": 263.1
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#1A397C
secondary
#B08D42
accent
#B340E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A397C

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

Preview Lab → · Contrast checker → · Palette generator →

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