#2723A0#2723A0

#2723A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.191 H 273.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2723A0
RGBrgb(39, 35, 160)
HSLhsl(242, 64%, 38%)
HSVhsv(242, 78%, 63%)
CMYKcmyk(75.6%, 78.1%, 0%, 37.3%)
CIE-LABlab(24.23, 43.71, -65.86)
CIE-LCHlch(24.23, 79.04, 303.57°)
OKLaboklab(36.57% 0.0101 -0.1906)
OKLCHoklch(36.57% 0.191 273)
XYZxyz(7.7808, 4.1707, 33.6458)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A0 #9CA023
analogous
#235DA0 #2723A0 #6523A0
triadic
#2723A0 #A02723 #23A027
tetradic
#2723A0 #A0235D #9CA023 #23A065
square
#2723A0 #A0235D #9CA023 #23A065
split-complementary
#2723A0 #A06523 #5DA023
monochromatic
#0F0D3C #1B186E #2723A0 #342FD1 #6561DC

Accessibility & contrast

On white

11.45
#2723A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2723A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2723A0#FFFFFF#000000##FFFFFF
##2723A01.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2723a0;
/* rgb */ color: rgb(39, 35, 160);
/* oklch */ color: oklch(36.6% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#7660bd',
    500: '#2723a0',
    950: '#000000',
  },
}
SCSS
$custom: #2723a0;
$custom-light: #7660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a0",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 241.92,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36568,
    "c": 0.19083,
    "h": 273
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#2723A0
secondary
#BEC15D
accent
#E741E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2723A0

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

Preview Lab → · Contrast checker → · Palette generator →

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