#2723B2#2723B2

#2723B2 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.212 H 271.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2723B2
RGBrgb(39, 35, 178)
HSLhsl(242, 67%, 42%)
HSVhsv(242, 80%, 70%)
CMYKcmyk(78.1%, 80.3%, 0%, 30.2%)
CIE-LABlab(26.29, 49.50, -73.30)
CIE-LCHlch(26.29, 88.45, 304.03°)
OKLaboklab(38.62% 0.0061 -0.2122)
OKLCHoklch(38.62% 0.212 271.6)
XYZxyz(9.4709, 4.8467, 42.5472)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723B2 #AEB223
analogous
#2367B2 #2723B2 #6F23B2
triadic
#2723B2 #B22723 #23B227
tetradic
#2723B2 #B22367 #AEB223 #23B26F
square
#2723B2 #B22367 #AEB223 #23B26F
split-complementary
#2723B2 #B26F23 #67B223
monochromatic
#110F4C #1C197F #2723B2 #3E3AD8 #706DE2

Accessibility & contrast

On white

10.66
#2723B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2723B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2723B2#FFFFFF#000000##FFFFFF
##2723B21.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2723b2;
/* rgb */ color: rgb(39, 35, 178);
/* oklch */ color: oklch(38.6% 0.212 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b62ca',
    500: '#2723b2',
    950: '#000000',
  },
}
SCSS
$custom: #2723b2;
$custom-light: #7b62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2723b2",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 241.678,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38616,
    "c": 0.21225,
    "h": 271.6
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#2723B2
secondary
#C6C968
accent
#EA3EE5
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2723B2

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

Preview Lab → · Contrast checker → · Palette generator →

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