#2723A1#2723A1

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

Color values

HEX#2723A1
RGBrgb(39, 35, 161)
HSLhsl(242, 64%, 38%)
HSVhsv(242, 78%, 63%)
CMYKcmyk(75.8%, 78.3%, 0%, 36.9%)
CIE-LABlab(24.34, 44.03, -66.28)
CIE-LCHlch(24.34, 79.57, 303.60°)
OKLaboklab(36.68% 0.0098 -0.1918)
OKLCHoklch(36.68% 0.192 272.9)
XYZxyz(7.8686, 4.2058, 34.1084)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A1 #9DA123
analogous
#235EA1 #2723A1 #6623A1
triadic
#2723A1 #A12723 #23A127
tetradic
#2723A1 #A1235E #9DA123 #23A166
square
#2723A1 #A1235E #9DA123 #23A166
split-complementary
#2723A1 #A16623 #5EA123
monochromatic
#0F0D3C #1B186F #2723A1 #352FD2 #6662DD

Accessibility & contrast

On white

11.40
#2723A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2723A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2723A1
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2723A1#FFFFFF#000000##FFFFFF
##2723A11.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2723a1;
/* rgb */ color: rgb(39, 35, 161);
/* oklch */ color: oklch(36.7% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#7660be',
    500: '#2723a1',
    950: '#000000',
  },
}
SCSS
$custom: #2723a1;
$custom-light: #7660be;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a1",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 241.905,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36681,
    "c": 0.19204,
    "h": 272.9
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2723A1

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

Preview Lab → · Contrast checker → · Palette generator →

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