#1A397E#1A397E

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

Color values

HEX#1A397E
RGBrgb(26, 57, 126)
HSLhsl(221, 66%, 30%)
HSVhsv(221, 79%, 49%)
CMYKcmyk(79.4%, 54.8%, 0%, 50.6%)
CIE-LABlab(25.72, 15.36, -42.39)
CIE-LCHlch(25.72, 45.09, 289.92°)
OKLaboklab(36.5% -0.0142 -0.1221)
OKLCHoklch(36.5% 0.123 263.4)
XYZxyz(5.6537, 4.6516, 20.3345)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A397E #7E5F1A
analogous
#1A6B7E #1A397E #2D1A7E
triadic
#1A397E #7E1A39 #397E1A
tetradic
#1A397E #7E1A6B #7E5F1A #1A7E2D
square
#1A397E #7E1A6B #7E5F1A #1A7E2D
split-complementary
#1A397E #7E2D1A #6B7E1A
monochromatic
#050B19 #10224B #1A397E #2450B1 #3C6CD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A397E#FFFFFF#000000##FFFFFF
##1A397E1.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)
#064280
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a397e;
/* rgb */ color: rgb(26, 57, 126);
/* oklch */ color: oklch(36.5% 0.123 263.4);
Tailwind
colors: {
  custom: {
    50: '#676ea4',
    500: '#1a397e',
    950: '#000000',
  },
}
SCSS
$custom: #1a397e;
$custom-light: #676ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a397e",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 221.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.12294,
    "h": 263.4
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A397E

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

Preview Lab → · Contrast checker → · Palette generator →

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