#1340A1#1340A1

#1340A1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.165 H 262.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1340A1
RGBrgb(19, 64, 161)
HSLhsl(221, 79%, 35%)
HSVhsv(221, 88%, 63%)
CMYKcmyk(88.2%, 60.2%, 0%, 36.9%)
CIE-LABlab(30.35, 24.12, -56.43)
CIE-LCHlch(30.35, 61.37, 293.14°)
OKLaboklab(40.83% -0.0209 -0.1633)
OKLCHoklch(40.83% 0.165 262.7)
XYZxyz(8.5327, 6.3774, 34.4925)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1340A1 #A17413
analogous
#1387A1 #1340A1 #2D13A1
triadic
#1340A1 #A11340 #40A113
tetradic
#1340A1 #A11387 #A17413 #13A12D
square
#1340A1 #A11387 #A17413 #13A12D
split-complementary
#1340A1 #A12D13 #87A113
monochromatic
#061434 #0D2A6A #1340A1 #1956D8 #4579E9

Accessibility & contrast

On white

9.23
#1340A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1340A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1340A1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1340A1#FFFFFF#000000##FFFFFF
##1340A11.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1340a1;
/* rgb */ color: rgb(19, 64, 161);
/* oklch */ color: oklch(40.8% 0.165 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e74be',
    500: '#1340a1',
    950: '#000000',
  },
}
SCSS
$custom: #1340a1;
$custom-light: #6e74be;
$custom-dark: #000000;
JSON
{
  "hex": "#1340a1",
  "rgb": {
    "r": 19,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 220.986,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.16466,
    "h": 262.7
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#1340A1
secondary
#CAA046
accent
#B832F5
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1340A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1340A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva