#2723A8#2723A8

#2723A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.5% C 0.200 H 272.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2723A8
RGBrgb(39, 35, 168)
HSLhsl(242, 66%, 40%)
HSVhsv(242, 79%, 66%)
CMYKcmyk(76.8%, 79.2%, 0%, 34.1%)
CIE-LABlab(25.14, 46.31, -69.21)
CIE-LCHlch(25.14, 83.27, 303.79°)
OKLaboklab(37.47% 0.0083 -0.2003)
OKLCHoklch(37.47% 0.2 272.4)
XYZxyz(8.5032, 4.4596, 37.4508)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A8 #A4A823
analogous
#2361A8 #2723A8 #6A23A8
triadic
#2723A8 #A82723 #23A827
tetradic
#2723A8 #A82361 #A4A823 #23A86A
square
#2723A8 #A82361 #A4A823 #23A86A
split-complementary
#2723A8 #A86A23 #61A823
monochromatic
#0F0E43 #1B1875 #2723A8 #3834D5 #6A66DF

Accessibility & contrast

On white

11.10
#2723A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2723A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2723A8#FFFFFF#000000##FFFFFF
##2723A81.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2723a8;
/* rgb */ color: rgb(39, 35, 168);
/* oklch */ color: oklch(37.5% 0.200 272.4);
Tailwind
colors: {
  custom: {
    50: '#7861c3',
    500: '#2723a8',
    950: '#000000',
  },
}
SCSS
$custom: #2723a8;
$custom-light: #7861c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a8",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 241.805,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.20046,
    "h": 272.4
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#2723A8
secondary
#C2C562
accent
#E83FE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2723A8

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

Preview Lab → · Contrast checker → · Palette generator →

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