#1A3C8B#1A3C8B

#1A3C8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.138 H 263.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1A3C8B
RGBrgb(26, 60, 139)
HSLhsl(222, 68%, 32%)
HSVhsv(222, 81%, 55%)
CMYKcmyk(81.3%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.61, 18.56, -47.43)
CIE-LCHlch(27.61, 50.93, 291.38°)
OKLaboklab(38.26% -0.0153 -0.1369)
OKLCHoklch(38.26% 0.138 263.6)
XYZxyz(6.7004, 5.3146, 25.0938)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C8B #8B691A
analogous
#1A758B #1A3C8B #311A8B
triadic
#1A3C8B #8B1A3C #3C8B1A
tetradic
#1A3C8B #8B1A75 #8B691A #1A8B31
square
#1A3C8B #8B1A75 #8B691A #1A8B31
split-complementary
#1A3C8B #8B311A #758B1A
monochromatic
#070F24 #102657 #1A3C8B #2452BF #4371DC

Accessibility & contrast

On white

10.18
#1A3C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3C8B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C8B#FFFFFF#000000##FFFFFF
##1A3C8B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3c8b;
/* rgb */ color: rgb(26, 60, 139);
/* oklch */ color: oklch(38.3% 0.138 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a71ae',
    500: '#1a3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c8b;
$custom-light: #6a71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c8b",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 221.947,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38259,
    "c": 0.13772,
    "h": 263.6
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#1A3C8B
secondary
#BD9944
accent
#B73CEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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