#1A3F8D#1A3F8D

#1A3F8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.137 H 262.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1A3F8D
RGBrgb(26, 63, 141)
HSLhsl(221, 69%, 33%)
HSVhsv(221, 82%, 55%)
CMYKcmyk(81.6%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.63, 17.29, -47.00)
CIE-LCHlch(28.63, 50.08, 290.19°)
OKLaboklab(39.08% -0.0174 -0.1356)
OKLCHoklch(39.08% 0.137 262.7)
XYZxyz(7.0095, 5.6969, 25.9243)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F8D #8D681A
analogous
#1A788D #1A3F8D #2F1A8D
triadic
#1A3F8D #8D1A3F #3F8D1A
tetradic
#1A3F8D #8D1A78 #8D681A #1A8D2F
square
#1A3F8D #8D1A78 #8D681A #1A8D2F
split-complementary
#1A3F8D #8D2F1A #788D1A
monochromatic
#071126 #102859 #1A3F8D #2456C1 #4576DD

Accessibility & contrast

On white

9.81
#1A3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A3F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F8D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F8D#FFFFFF#000000##FFFFFF
##1A3F8D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3f8d;
/* rgb */ color: rgb(26, 63, 141);
/* oklch */ color: oklch(39.1% 0.137 262.7);
Tailwind
colors: {
  custom: {
    50: '#6b73af',
    500: '#1a3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f8d;
$custom-light: #6b73af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f8d",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 220.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.13667,
    "h": 262.7
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#1A3F8D
secondary
#BE9745
accent
#B33CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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