#1A3C8D#1A3C8D

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

Color values

HEX#1A3C8D
RGBrgb(26, 60, 141)
HSLhsl(222, 69%, 33%)
HSVhsv(222, 82%, 55%)
CMYKcmyk(81.6%, 57.4%, 0%, 44.7%)
CIE-LABlab(27.77, 19.37, -48.40)
CIE-LCHlch(27.77, 52.14, 291.82°)
OKLaboklab(38.43% -0.0152 -0.1397)
OKLCHoklch(38.43% 0.141 263.8)
XYZxyz(6.8479, 5.3736, 25.8704)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C8D #8D6B1A
analogous
#1A758D #1A3C8D #321A8D
triadic
#1A3C8D #8D1A3C #3C8D1A
tetradic
#1A3C8D #8D1A75 #8D6B1A #1A8D32
square
#1A3C8D #8D1A75 #8D6B1A #1A8D32
split-complementary
#1A3C8D #8D321A #758D1A
monochromatic
#071026 #102659 #1A3C8D #2452C1 #4572DD

Accessibility & contrast

On white

10.12
#1A3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1A3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C8D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C8D#FFFFFF#000000##FFFFFF
##1A3C8D1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3c8d;
/* rgb */ color: rgb(26, 60, 141);
/* oklch */ color: oklch(38.4% 0.141 263.8);
Tailwind
colors: {
  custom: {
    50: '#6b71af',
    500: '#1a3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c8d;
$custom-light: #6b71af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c8d",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 222.261,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.14055,
    "h": 263.8
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#1A3C8D
secondary
#BE9A45
accent
#B83CEC
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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