#1342B4#1342B4

#1342B4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.187 H 263.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1342B4
RGBrgb(19, 66, 180)
HSLhsl(222, 81%, 39%)
HSVhsv(222, 89%, 71%)
CMYKcmyk(89.4%, 63.3%, 0%, 29.4%)
CIE-LABlab(32.54, 30.31, -64.21)
CIE-LCHlch(32.54, 71.00, 295.27°)
OKLaboklab(42.98% -0.0213 -0.1861)
OKLCHoklch(42.98% 0.187 263.5)
XYZxyz(10.4520, 7.3288, 44.0349)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1342B4 #B48513
analogous
#1393B4 #1342B4 #3413B4
triadic
#1342B4 #B41342 #42B413
tetradic
#1342B4 #B41393 #B48513 #13B434
square
#1342B4 #B41393 #B48513 #13B434
split-complementary
#1342B4 #B43413 #93B413
monochromatic
#071945 #0D2E7D #1342B4 #1D58E7 #5481ED

Accessibility & contrast

On white

8.52
#1342B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1342B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1342B4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1342B4#FFFFFF#000000##FFFFFF
##1342B41.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1342b4;
/* rgb */ color: rgb(19, 66, 180);
/* oklch */ color: oklch(43.0% 0.187 263.5);
Tailwind
colors: {
  custom: {
    50: '#7375cb',
    500: '#1342b4',
    950: '#000000',
  },
}
SCSS
$custom: #1342b4;
$custom-light: #7375cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1342b4",
  "rgb": {
    "r": 19,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 222.484,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.18728,
    "h": 263.5
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#1342B4
secondary
#CFAB53
accent
#BD30F7
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1342B4

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

Preview Lab → · Contrast checker → · Palette generator →

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