#2723AA#2723AA

#2723AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.203 H 272.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2723AA
RGBrgb(39, 35, 170)
HSLhsl(242, 66%, 40%)
HSVhsv(242, 79%, 67%)
CMYKcmyk(77.1%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.37, 46.96, -70.03)
CIE-LCHlch(25.37, 84.32, 303.84°)
OKLaboklab(37.7% 0.0079 -0.2027)
OKLCHoklch(37.7% 0.203 272.2)
XYZxyz(8.6910, 4.5347, 38.4397)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723AA #A6AA23
analogous
#2362AA #2723AA #6B23AA
triadic
#2723AA #AA2723 #23AA27
tetradic
#2723AA #AA2362 #A6AA23 #23AA6B
square
#2723AA #AA2362 #A6AA23 #23AA6B
split-complementary
#2723AA #AA6B23 #62AA23
monochromatic
#100E44 #1B1977 #2723AA #3A35D5 #6B68E0

Accessibility & contrast

On white

11.01
#2723AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2723AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2723AA#FFFFFF#000000##FFFFFF
##2723AA1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2723aa;
/* rgb */ color: rgb(39, 35, 170);
/* oklch */ color: oklch(37.7% 0.203 272.2);
Tailwind
colors: {
  custom: {
    50: '#7961c5',
    500: '#2723aa',
    950: '#000000',
  },
}
SCSS
$custom: #2723aa;
$custom-light: #7961c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2723aa",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 241.778,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37699,
    "c": 0.20284,
    "h": 272.2
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#2723AA
secondary
#C3C663
accent
#E93FE4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2723AA

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

Preview Lab → · Contrast checker → · Palette generator →

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