#1A3D8F#1A3D8F

#1A3D8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.142 H 263.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1A3D8F
RGBrgb(26, 61, 143)
HSLhsl(222, 69%, 33%)
HSVhsv(222, 82%, 56%)
CMYKcmyk(81.8%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.22, 19.49, -48.91)
CIE-LCHlch(28.22, 52.65, 291.73°)
OKLaboklab(38.82% -0.0157 -0.1412)
OKLCHoklch(38.82% 0.142 263.6)
XYZxyz(7.0509, 5.5394, 26.6789)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D8F #8F6C1A
analogous
#1A778F #1A3D8F #311A8F
triadic
#1A3D8F #8F1A3D #3D8F1A
tetradic
#1A3D8F #8F1A77 #8F6C1A #1A8F31
square
#1A3D8F #8F1A77 #8F6C1A #1A8F31
split-complementary
#1A3D8F #8F311A #778F1A
monochromatic
#071127 #11275B #1A3D8F #2353C3 #4673DD

Accessibility & contrast

On white

9.96
#1A3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A3D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D8F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D8F#FFFFFF#000000##FFFFFF
##1A3D8F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3d8f;
/* rgb */ color: rgb(26, 61, 143);
/* oklch */ color: oklch(38.8% 0.142 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#1a3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d8f;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d8f",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 222.051,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.14207,
    "h": 263.6
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#1A3D8F
secondary
#BF9B46
accent
#B73CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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