#2723A7#2723A7

#2723A7 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.199 H 272.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2723A7
RGBrgb(39, 35, 167)
HSLhsl(242, 65%, 40%)
HSVhsv(242, 79%, 65%)
CMYKcmyk(76.6%, 79%, 0%, 34.5%)
CIE-LABlab(25.02, 45.99, -68.79)
CIE-LCHlch(25.02, 82.75, 303.76°)
OKLaboklab(37.36% 0.0085 -0.1991)
OKLCHoklch(37.36% 0.199 272.5)
XYZxyz(8.4104, 4.4225, 36.9621)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A7 #A3A723
analogous
#2361A7 #2723A7 #6923A7
triadic
#2723A7 #A72723 #23A727
tetradic
#2723A7 #A72361 #A3A723 #23A769
square
#2723A7 #A72361 #A3A723 #23A769
split-complementary
#2723A7 #A76923 #61A723
monochromatic
#0F0E42 #1B1874 #2723A7 #3833D4 #6966DF

Accessibility & contrast

On white

11.14
#2723A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2723A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2723A7
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2723A7#FFFFFF#000000##FFFFFF
##2723A71.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2723a7;
/* rgb */ color: rgb(39, 35, 167);
/* oklch */ color: oklch(37.4% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#7861c2',
    500: '#2723a7',
    950: '#000000',
  },
}
SCSS
$custom: #2723a7;
$custom-light: #7861c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a7",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 241.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.19927,
    "h": 272.5
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2723A7

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

Preview Lab → · Contrast checker → · Palette generator →

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