#2723C1#2723C1

#2723C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.229 H 270.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2723C1
RGBrgb(39, 35, 193)
HSLhsl(242, 69%, 45%)
HSVhsv(242, 82%, 76%)
CMYKcmyk(79.8%, 81.9%, 0%, 24.3%)
CIE-LABlab(28.07, 54.16, -79.26)
CIE-LCHlch(28.07, 96.00, 304.35°)
OKLaboklab(40.36% 0.0028 -0.2294)
OKLCHoklch(40.36% 0.229 270.7)
XYZxyz(11.0601, 5.4824, 50.9170)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723C1 #BDC123
analogous
#236EC1 #2723C1 #7623C1
triadic
#2723C1 #C12723 #23C127
tetradic
#2723C1 #C1236E #BDC123 #23C176
square
#2723C1 #C1236E #BDC123 #23C176
split-complementary
#2723C1 #C17623 #6EC123
monochromatic
#121059 #1D1A8D #2723C1 #4844DD #7B78E6

Accessibility & contrast

On white

10.02
#2723C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2723C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2723C1#FFFFFF#000000##FFFFFF
##2723C11.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2723c1;
/* rgb */ color: rgb(39, 35, 193);
/* oklch */ color: oklch(40.4% 0.229 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e63d5',
    500: '#2723c1',
    950: '#000000',
  },
}
SCSS
$custom: #2723c1;
$custom-light: #7e63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2723c1",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 241.519,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.22944,
    "h": 270.7
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#2723C1
secondary
#CCCE72
accent
#EC3CE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2723C1

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

Preview Lab → · Contrast checker → · Palette generator →

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