#1741B4#1741B4

#1741B4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.188 H 264.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1741B4
RGBrgb(23, 65, 180)
HSLhsl(224, 77%, 40%)
HSVhsv(224, 87%, 71%)
CMYKcmyk(87.2%, 63.9%, 0%, 29.4%)
CIE-LABlab(32.38, 31.20, -64.46)
CIE-LCHlch(32.38, 71.62, 295.83°)
OKLaboklab(42.89% -0.0188 -0.1868)
OKLCHoklch(42.89% 0.188 264.3)
XYZxyz(10.4789, 7.2567, 44.0195)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1741B4 #B48A17
analogous
#1790B4 #1741B4 #3B17B4
triadic
#1741B4 #B41741 #41B417
tetradic
#1741B4 #B41790 #B48A17 #17B43B
square
#1741B4 #B41790 #B48A17 #17B43B
split-complementary
#1741B4 #B43B17 #90B417
monochromatic
#091A47 #102D7E #1741B4 #2558E3 #5B82EA

Accessibility & contrast

On white

8.57
#1741B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1741B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1741B4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1741B4#FFFFFF#000000##FFFFFF
##1741B41.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1741b4;
/* rgb */ color: rgb(23, 65, 180);
/* oklch */ color: oklch(42.9% 0.188 264.3);
Tailwind
colors: {
  custom: {
    50: '#7475cb',
    500: '#1741b4',
    950: '#000000',
  },
}
SCSS
$custom: #1741b4;
$custom-light: #7475cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1741b4",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 223.949,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.18772,
    "h": 264.3
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#1741B4
secondary
#CEAE59
accent
#C134F4
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1741B4

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

Preview Lab → · Contrast checker → · Palette generator →

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