#1A3F9D#1A3F9D

#1A3F9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.159 H 264.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1A3F9D
RGBrgb(26, 63, 157)
HSLhsl(223, 72%, 36%)
HSVhsv(223, 83%, 62%)
CMYKcmyk(83.4%, 59.9%, 0%, 38.4%)
CIE-LABlab(29.93, 23.73, -54.68)
CIE-LCHlch(29.93, 59.61, 293.46°)
OKLaboklab(40.47% -0.0163 -0.1581)
OKLCHoklch(40.47% 0.159 264.1)
XYZxyz(8.2871, 6.2079, 32.6532)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F9D #9D781A
analogous
#1A809D #1A3F9D #361A9D
triadic
#1A3F9D #9D1A3F #3F9D1A
tetradic
#1A3F9D #9D1A80 #9D781A #1A9D36
square
#1A3F9D #9D1A80 #9D781A #1A9D36
split-complementary
#1A3F9D #9D361A #809D1A
monochromatic
#091534 #112A68 #1A3F9D #2354D2 #4F79E2

Accessibility & contrast

On white

9.37
#1A3F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1A3F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F9D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F9D#FFFFFF#000000##FFFFFF
##1A3F9D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a3f9d;
/* rgb */ color: rgb(26, 63, 157);
/* oklch */ color: oklch(40.5% 0.159 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f73bb',
    500: '#1a3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f9d;
$custom-light: #6f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f9d",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 223.053,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.15894,
    "h": 264.1
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#1A3F9D
secondary
#C4A34E
accent
#BB39EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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