#1A3F91#1A3F91

#1A3F91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.142 H 263.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1A3F91
RGBrgb(26, 63, 145)
HSLhsl(221, 70%, 34%)
HSVhsv(221, 82%, 57%)
CMYKcmyk(82.1%, 56.6%, 0%, 43.1%)
CIE-LABlab(28.95, 18.91, -48.95)
CIE-LCHlch(28.95, 52.48, 291.12°)
OKLaboklab(39.42% -0.017 -0.1413)
OKLCHoklch(39.42% 0.142 263.1)
XYZxyz(7.3125, 5.8181, 27.5202)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F91 #916C1A
analogous
#1A7A91 #1A3F91 #311A91
triadic
#1A3F91 #911A3F #3F911A
tetradic
#1A3F91 #911A7A #916C1A #1A9131
square
#1A3F91 #911A7A #916C1A #1A9131
split-complementary
#1A3F91 #91311A #7A911A
monochromatic
#071229 #11285D #1A3F91 #2356C5 #4776DE

Accessibility & contrast

On white

9.71
#1A3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A3F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F91
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F91#FFFFFF#000000##FFFFFF
##1A3F911.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3f91;
/* rgb */ color: rgb(26, 63, 145);
/* oklch */ color: oklch(39.4% 0.142 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c73b2',
    500: '#1a3f91',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f91;
$custom-light: #6c73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f91",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 221.345,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.14232,
    "h": 263.1
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#1A3F91
secondary
#C09A47
accent
#B53BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3F91

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

Preview Lab → · Contrast checker → · Palette generator →

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