#2723C5#2723C5

#2723C5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.234 H 270.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2723C5
RGBrgb(39, 35, 197)
HSLhsl(241, 70%, 45%)
HSVhsv(241, 82%, 77%)
CMYKcmyk(80.2%, 82.2%, 0%, 22.7%)
CIE-LABlab(28.55, 55.38, -80.82)
CIE-LCHlch(28.55, 97.97, 304.42°)
OKLaboklab(40.83% 0.0019 -0.2339)
OKLCHoklch(40.83% 0.234 270.5)
XYZxyz(11.5124, 5.6633, 53.2989)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723C5 #C1C523
analogous
#2370C5 #2723C5 #7823C5
triadic
#2723C5 #C52723 #23C527
tetradic
#2723C5 #C52370 #C1C523 #23C578
square
#2723C5 #C52370 #C1C523 #23C578
split-complementary
#2723C5 #C57823 #70C523
monochromatic
#12115D #1D1A91 #2723C5 #4B47DE #7E7BE8

Accessibility & contrast

On white

9.85
#2723C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2723C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2723C5#FFFFFF#000000##FFFFFF
##2723C51.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC9
Deuteranopia (green-blind)
#003BC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2723c5;
/* rgb */ color: rgb(39, 35, 197);
/* oklch */ color: oklch(40.8% 0.234 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f63d8',
    500: '#2723c5',
    950: '#000000',
  },
}
SCSS
$custom: #2723c5;
$custom-light: #7f63d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2723c5",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 197
  },
  "hsl": {
    "h": 241.481,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.23394,
    "h": 270.5
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#2723C5
secondary
#CDCF74
accent
#ED3BE8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0515
muted
#7D7A83

Preview Lab

Preview with #2723C5

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

Preview Lab → · Contrast checker → · Palette generator →

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