#1732B4#1732B4

#1732B4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.3% C 0.205 H 266.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1732B4
RGBrgb(23, 50, 180)
HSLhsl(230, 77%, 40%)
HSVhsv(230, 87%, 71%)
CMYKcmyk(87.2%, 72.2%, 0%, 29.4%)
CIE-LABlab(28.79, 40.82, -70.38)
CIE-LCHlch(28.79, 81.36, 300.12°)
OKLaboklab(40.26% -0.0132 -0.2041)
OKLCHoklch(40.26% 0.205 266.3)
XYZxyz(9.7293, 5.7574, 43.7697)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1732B4 #B49917
analogous
#1780B4 #1732B4 #4B17B4
triadic
#1732B4 #B41732 #32B417
tetradic
#1732B4 #B41780 #B49917 #17B44B
square
#1732B4 #B41780 #B49917 #17B44B
split-complementary
#1732B4 #B44B17 #80B417
monochromatic
#091447 #10237E #1732B4 #2546E3 #5B74EA

Accessibility & contrast

On white

9.76
#1732B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1732B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1732B4
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1732B4#FFFFFF#000000##FFFFFF
##1732B41.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1732b4;
/* rgb */ color: rgb(23, 50, 180);
/* oklch */ color: oklch(40.3% 0.205 266.3);
Tailwind
colors: {
  custom: {
    50: '#766acc',
    500: '#1732b4',
    950: '#000000',
  },
}
SCSS
$custom: #1732b4;
$custom-light: #766acc;
$custom-dark: #000000;
JSON
{
  "hex": "#1732b4",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 229.682,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.20452,
    "h": 266.3
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#1732B4
secondary
#CEBA59
accent
#D334F4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0614
muted
#7C7A82

Preview Lab

Preview with #1732B4

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

Preview Lab → · Contrast checker → · Palette generator →

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