#1740B4#1740B4

#1740B4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.189 H 264.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1740B4
RGBrgb(23, 64, 180)
HSLhsl(224, 77%, 40%)
HSVhsv(224, 87%, 71%)
CMYKcmyk(87.2%, 64.4%, 0%, 29.4%)
CIE-LABlab(32.13, 31.86, -64.88)
CIE-LCHlch(32.13, 72.28, 296.15°)
OKLaboklab(42.7% -0.0183 -0.188)
OKLCHoklch(42.7% 0.189 264.4)
XYZxyz(10.4220, 7.1429, 44.0006)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1740B4 #B48B17
analogous
#178FB4 #1740B4 #3C17B4
triadic
#1740B4 #B41740 #40B417
tetradic
#1740B4 #B4178F #B48B17 #17B43C
square
#1740B4 #B4178F #B48B17 #17B43C
split-complementary
#1740B4 #B43C17 #8FB417
monochromatic
#091947 #102D7E #1740B4 #2557E3 #5B81EA

Accessibility & contrast

On white

8.65
#1740B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1740B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1740B4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1740B4#FFFFFF#000000##FFFFFF
##1740B41.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1740b4;
/* rgb */ color: rgb(23, 64, 180);
/* oklch */ color: oklch(42.7% 0.189 264.4);
Tailwind
colors: {
  custom: {
    50: '#7474cc',
    500: '#1740b4',
    950: '#000000',
  },
}
SCSS
$custom: #1740b4;
$custom-light: #7474cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1740b4",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 224.331,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.427,
    "c": 0.1889,
    "h": 264.4
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#1740B4
secondary
#CEAF59
accent
#C234F4
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1740B4

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

Preview Lab → · Contrast checker → · Palette generator →

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