#1A397F#1A397F

#1A397F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.124 H 263.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1A397F
RGBrgb(26, 57, 127)
HSLhsl(222, 66%, 30%)
HSVhsv(222, 80%, 50%)
CMYKcmyk(79.5%, 55.1%, 0%, 50.2%)
CIE-LABlab(25.80, 15.77, -42.90)
CIE-LCHlch(25.80, 45.70, 290.19°)
OKLaboklab(36.59% -0.0141 -0.1236)
OKLCHoklch(36.59% 0.124 263.5)
XYZxyz(5.7185, 4.6775, 20.6760)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A397F #7F601A
analogous
#1A6C7F #1A397F #2D1A7F
triadic
#1A397F #7F1A39 #397F1A
tetradic
#1A397F #7F1A6C #7F601A #1A7F2D
square
#1A397F #7F1A6C #7F601A #1A7F2D
split-complementary
#1A397F #7F2D1A #6C7F1A
monochromatic
#050B19 #10224C #1A397F #2450B2 #3C6CD7

Accessibility & contrast

On white

10.85
#1A397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1A397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A397F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A397F#FFFFFF#000000##FFFFFF
##1A397F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044281
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a397f;
/* rgb */ color: rgb(26, 57, 127);
/* oklch */ color: oklch(36.6% 0.124 263.5);
Tailwind
colors: {
  custom: {
    50: '#676ea5',
    500: '#1a397f',
    950: '#000000',
  },
}
SCSS
$custom: #1a397f;
$custom-light: #676ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a397f",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 221.584,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.12439,
    "h": 263.5
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#1A397F
secondary
#B39042
accent
#B53FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A397F

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

Preview Lab → · Contrast checker → · Palette generator →

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