#1740A1#1740A1

#1740A1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.164 H 263.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1740A1
RGBrgb(23, 64, 161)
HSLhsl(222, 75%, 36%)
HSVhsv(222, 86%, 63%)
CMYKcmyk(85.7%, 60.2%, 0%, 36.9%)
CIE-LABlab(30.45, 24.40, -56.26)
CIE-LCHlch(30.45, 61.32, 293.45°)
OKLaboklab(40.93% -0.0186 -0.1628)
OKLCHoklch(40.93% 0.164 263.5)
XYZxyz(8.6175, 6.4211, 34.4965)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1740A1 #A17817
analogous
#1785A1 #1740A1 #3317A1
triadic
#1740A1 #A11740 #40A117
tetradic
#1740A1 #A11785 #A17817 #17A133
square
#1740A1 #A11785 #A17817 #17A133
split-complementary
#1740A1 #A13317 #85A117
monochromatic
#081536 #0F2B6B #1740A1 #1F55D7 #4D7AE6

Accessibility & contrast

On white

9.19
#1740A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1740A1
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1740A1#FFFFFF#000000##FFFFFF
##1740A11.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1740a1;
/* rgb */ color: rgb(23, 64, 161);
/* oklch */ color: oklch(40.9% 0.164 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f74be',
    500: '#1740a1',
    950: '#000000',
  },
}
SCSS
$custom: #1740a1;
$custom-light: #6f74be;
$custom-dark: #000000;
JSON
{
  "hex": "#1740a1",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 222.174,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40934,
    "c": 0.16382,
    "h": 263.5
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#1740A1
secondary
#C7A34C
accent
#BA36F2
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1740A1

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

Preview Lab → · Contrast checker → · Palette generator →

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