#1A3C8A#1A3C8A

#1A3C8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.136 H 263.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1A3C8A
RGBrgb(26, 60, 138)
HSLhsl(222, 68%, 32%)
HSVhsv(222, 81%, 54%)
CMYKcmyk(81.2%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.53, 18.16, -46.94)
CIE-LCHlch(27.53, 50.33, 291.15°)
OKLaboklab(38.17% -0.0154 -0.1354)
OKLCHoklch(38.17% 0.136 263.5)
XYZxyz(6.6277, 5.2855, 24.7107)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C8A #8A681A
analogous
#1A748A #1A3C8A #301A8A
triadic
#1A3C8A #8A1A3C #3C8A1A
tetradic
#1A3C8A #8A1A74 #8A681A #1A8A30
square
#1A3C8A #8A1A74 #8A681A #1A8A30
split-complementary
#1A3C8A #8A301A #748A1A
monochromatic
#070F23 #102657 #1A3C8A #2452BD #4371DC

Accessibility & contrast

On white

10.21
#1A3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C8A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C8A#FFFFFF#000000##FFFFFF
##1A3C8A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3c8a;
/* rgb */ color: rgb(26, 60, 138);
/* oklch */ color: oklch(38.2% 0.136 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a71ad',
    500: '#1a3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c8a;
$custom-light: #6a71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c8a",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 221.786,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.13629,
    "h": 263.5
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#1A3C8A
secondary
#BD9843
accent
#B63DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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