#1742A1#1742A1

#1742A1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.161 H 263.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1742A1
RGBrgb(23, 66, 161)
HSLhsl(221, 75%, 36%)
HSVhsv(221, 86%, 63%)
CMYKcmyk(85.7%, 59%, 0%, 36.9%)
CIE-LABlab(31.00, 23.04, -55.36)
CIE-LCHlch(31.00, 59.96, 292.59°)
OKLaboklab(41.35% -0.0198 -0.1601)
OKLCHoklch(41.35% 0.161 263)
XYZxyz(8.7323, 6.6507, 34.5348)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1742A1 #A17617
analogous
#1787A1 #1742A1 #3117A1
triadic
#1742A1 #A11742 #42A117
tetradic
#1742A1 #A11787 #A17617 #17A131
square
#1742A1 #A11787 #A17617 #17A131
split-complementary
#1742A1 #A13117 #87A117
monochromatic
#081636 #0F2C6B #1742A1 #1F58D7 #4D7CE6

Accessibility & contrast

On white

9.01
#1742A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1742A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1742A1
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1742A1#FFFFFF#000000##FFFFFF
##1742A11.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.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: #1742a1;
/* rgb */ color: rgb(23, 66, 161);
/* oklch */ color: oklch(41.3% 0.161 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f75be',
    500: '#1742a1',
    950: '#000000',
  },
}
SCSS
$custom: #1742a1;
$custom-light: #6f75be;
$custom-dark: #000000;
JSON
{
  "hex": "#1742a1",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 221.304,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41345,
    "c": 0.16133,
    "h": 263
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#1742A1
secondary
#C7A14C
accent
#B736F2
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1742A1

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

Preview Lab → · Contrast checker → · Palette generator →

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