#2723A4#2723A4

#2723A4 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.196 H 272.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2723A4
RGBrgb(39, 35, 164)
HSLhsl(242, 65%, 39%)
HSVhsv(242, 79%, 64%)
CMYKcmyk(76.2%, 78.7%, 0%, 35.7%)
CIE-LABlab(24.68, 45.02, -67.54)
CIE-LCHlch(24.68, 81.17, 303.68°)
OKLaboklab(37.02% 0.0092 -0.1955)
OKLCHoklch(37.02% 0.196 272.7)
XYZxyz(8.1363, 4.3129, 35.5184)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A4 #A0A423
analogous
#2360A4 #2723A4 #6823A4
triadic
#2723A4 #A42723 #23A427
tetradic
#2723A4 #A42360 #A0A423 #23A468
square
#2723A4 #A42360 #A0A423 #23A468
split-complementary
#2723A4 #A46823 #60A423
monochromatic
#0F0D3F #1B1872 #2723A4 #3631D3 #6764DE

Accessibility & contrast

On white

11.27
#2723A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2723A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2723A4
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2723A4#FFFFFF#000000##FFFFFF
##2723A41.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0034A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2723a4;
/* rgb */ color: rgb(39, 35, 164);
/* oklch */ color: oklch(37.0% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#7761c0',
    500: '#2723a4',
    950: '#000000',
  },
}
SCSS
$custom: #2723a4;
$custom-light: #7761c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a4",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 241.86,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.19568,
    "h": 272.7
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#2723A4
secondary
#C0C360
accent
#E840E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2723A4

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

Preview Lab → · Contrast checker → · Palette generator →

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