#2723A2#2723A2

#2723A2 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.193 H 272.9°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2723A2
RGBrgb(39, 35, 162)
HSLhsl(242, 64%, 39%)
HSVhsv(242, 78%, 64%)
CMYKcmyk(75.9%, 78.4%, 0%, 36.5%)
CIE-LABlab(24.45, 44.36, -66.70)
CIE-LCHlch(24.45, 80.11, 303.63°)
OKLaboklab(36.79% 0.0096 -0.193)
OKLCHoklch(36.79% 0.193 272.9)
XYZxyz(7.9571, 4.2412, 34.5747)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A2 #9EA223
analogous
#235EA2 #2723A2 #6623A2
triadic
#2723A2 #A22723 #23A227
tetradic
#2723A2 #A2235E #9EA223 #23A266
square
#2723A2 #A2235E #9EA223 #23A266
split-complementary
#2723A2 #A26623 #5EA223
monochromatic
#0F0D3D #1B1870 #2723A2 #3530D2 #6662DD

Accessibility & contrast

On white

11.36
#2723A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2723A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2723A2
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2723A2#FFFFFF#000000##FFFFFF
##2723A21.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0034A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2723a2;
/* rgb */ color: rgb(39, 35, 162);
/* oklch */ color: oklch(36.8% 0.193 272.9);
Tailwind
colors: {
  custom: {
    50: '#7760bf',
    500: '#2723a2',
    950: '#000000',
  },
}
SCSS
$custom: #2723a2;
$custom-light: #7760bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a2",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 241.89,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36793,
    "c": 0.19326,
    "h": 272.9
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#2723A2
secondary
#BFC25E
accent
#E740E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2723A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2723A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva