#1342A1#1342A1

#1342A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.162 H 262.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#1342A1
RGBrgb(19, 66, 161)
HSLhsl(220, 79%, 35%)
HSVhsv(220, 88%, 63%)
CMYKcmyk(88.2%, 59%, 0%, 36.9%)
CIE-LABlab(30.89, 22.75, -55.54)
CIE-LCHlch(30.89, 60.01, 292.27°)
OKLaboklab(41.24% -0.022 -0.1607)
OKLCHoklch(41.24% 0.162 262.2)
XYZxyz(8.6475, 6.6070, 34.5308)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1342A1 #A17213
analogous
#1389A1 #1342A1 #2B13A1
triadic
#1342A1 #A11342 #42A113
tetradic
#1342A1 #A11389 #A17213 #13A12B
square
#1342A1 #A11389 #A17213 #13A12B
split-complementary
#1342A1 #A12B13 #89A113
monochromatic
#061534 #0D2C6A #1342A1 #1958D8 #457CE9

Accessibility & contrast

On white

9.05
#1342A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1342A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1342A1
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1342A1#FFFFFF#000000##FFFFFF
##1342A11.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1342a1;
/* rgb */ color: rgb(19, 66, 161);
/* oklch */ color: oklch(41.2% 0.162 262.2);
Tailwind
colors: {
  custom: {
    50: '#6e75be',
    500: '#1342a1',
    950: '#000000',
  },
}
SCSS
$custom: #1342a1;
$custom-light: #6e75be;
$custom-dark: #000000;
JSON
{
  "hex": "#1342a1",
  "rgb": {
    "r": 19,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 220.141,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.16216,
    "h": 262.2
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#1342A1
secondary
#CA9E46
accent
#B532F5
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1342A1

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

Preview Lab → · Contrast checker → · Palette generator →

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