#1A3D8A#1A3D8A

#1A3D8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.135 H 263.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1A3D8A
RGBrgb(26, 61, 138)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 54%)
CMYKcmyk(81.2%, 55.8%, 0%, 45.9%)
CIE-LABlab(27.82, 17.46, -46.47)
CIE-LCHlch(27.82, 49.64, 290.59°)
OKLaboklab(38.39% -0.0161 -0.134)
OKLCHoklch(38.39% 0.135 263.1)
XYZxyz(6.6805, 5.3913, 24.7284)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D8A #8A671A
analogous
#1A758A #1A3D8A #2F1A8A
triadic
#1A3D8A #8A1A3D #3D8A1A
tetradic
#1A3D8A #8A1A75 #8A671A #1A8A2F
square
#1A3D8A #8A1A75 #8A671A #1A8A2F
split-complementary
#1A3D8A #8A2F1A #758A1A
monochromatic
#070F23 #102657 #1A3D8A #2454BD #4373DC

Accessibility & contrast

On white

10.10
#1A3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D8A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D8A#FFFFFF#000000##FFFFFF
##1A3D8A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3d8a;
/* rgb */ color: rgb(26, 61, 138);
/* oklch */ color: oklch(38.4% 0.135 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a71ad',
    500: '#1a3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d8a;
$custom-light: #6a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d8a",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 221.25,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38392,
    "c": 0.13499,
    "h": 263.1
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#1A3D8A
secondary
#BD9743
accent
#B53DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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