#1A3B8D#1A3B8D

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

Color values

HEX#1A3B8D
RGBrgb(26, 59, 141)
HSLhsl(223, 69%, 33%)
HSVhsv(223, 82%, 55%)
CMYKcmyk(81.6%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.49, 20.07, -48.86)
CIE-LCHlch(27.49, 52.82, 292.33°)
OKLaboklab(38.22% -0.0145 -0.1411)
OKLCHoklch(38.22% 0.142 264.1)
XYZxyz(6.7960, 5.2698, 25.8531)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B8D #8D6C1A
analogous
#1A748D #1A3B8D #331A8D
triadic
#1A3B8D #8D1A3B #3B8D1A
tetradic
#1A3B8D #8D1A74 #8D6C1A #1A8D33
square
#1A3B8D #8D1A74 #8D6C1A #1A8D33
split-complementary
#1A3B8D #8D331A #748D1A
monochromatic
#071026 #102559 #1A3B8D #2451C1 #4570DD

Accessibility & contrast

On white

10.22
#1A3B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1A3B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B8D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B8D#FFFFFF#000000##FFFFFF
##1A3B8D1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3b8d;
/* rgb */ color: rgb(26, 59, 141);
/* oklch */ color: oklch(38.2% 0.142 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b70af',
    500: '#1a3b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b8d;
$custom-light: #6b70af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b8d",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 222.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.14184,
    "h": 264.1
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#1A3B8D
secondary
#BE9B45
accent
#B93CEC
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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