#1A3D8B#1A3D8B

#1A3D8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.136 H 263.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1A3D8B
RGBrgb(26, 61, 139)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 55%)
CMYKcmyk(81.3%, 56.1%, 0%, 45.5%)
CIE-LABlab(27.90, 17.87, -46.96)
CIE-LCHlch(27.90, 50.24, 290.83°)
OKLaboklab(38.48% -0.0161 -0.1355)
OKLCHoklch(38.48% 0.136 263.2)
XYZxyz(6.7533, 5.4204, 25.1114)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D8B #8B681A
analogous
#1A768B #1A3D8B #301A8B
triadic
#1A3D8B #8B1A3D #3D8B1A
tetradic
#1A3D8B #8B1A76 #8B681A #1A8B30
square
#1A3D8B #8B1A76 #8B681A #1A8B30
split-complementary
#1A3D8B #8B301A #768B1A
monochromatic
#071024 #102657 #1A3D8B #2454BF #4373DC

Accessibility & contrast

On white

10.08
#1A3D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3D8B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D8B#FFFFFF#000000##FFFFFF
##1A3D8B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3d8b;
/* rgb */ color: rgb(26, 61, 139);
/* oklch */ color: oklch(38.5% 0.136 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a71ad',
    500: '#1a3d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d8b;
$custom-light: #6a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d8b",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 221.416,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38477,
    "c": 0.13642,
    "h": 263.2
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#1A3D8B
secondary
#BD9744
accent
#B53CEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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