#2723A5#2723A5

#2723A5 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.197 H 272.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2723A5
RGBrgb(39, 35, 165)
HSLhsl(242, 65%, 39%)
HSVhsv(242, 79%, 65%)
CMYKcmyk(76.4%, 78.8%, 0%, 35.3%)
CIE-LABlab(24.79, 45.34, -67.96)
CIE-LCHlch(24.79, 81.70, 303.71°)
OKLaboklab(37.13% 0.009 -0.1967)
OKLCHoklch(37.13% 0.197 272.6)
XYZxyz(8.2270, 4.3491, 35.9959)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2723A5 #A1A523
analogous
#2360A5 #2723A5 #6823A5
triadic
#2723A5 #A52723 #23A527
tetradic
#2723A5 #A52360 #A1A523 #23A568
square
#2723A5 #A52360 #A1A523 #23A568
split-complementary
#2723A5 #A56823 #60A523
monochromatic
#0F0E40 #1B1873 #2723A5 #3732D3 #6864DE

Accessibility & contrast

On white

11.23
#2723A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2723A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2723A5
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2723A5#FFFFFF#000000##FFFFFF
##2723A51.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2723a5;
/* rgb */ color: rgb(39, 35, 165);
/* oklch */ color: oklch(37.1% 0.197 272.6);
Tailwind
colors: {
  custom: {
    50: '#7761c1',
    500: '#2723a5',
    950: '#000000',
  },
}
SCSS
$custom: #2723a5;
$custom-light: #7761c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2723a5",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 241.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.19687,
    "h": 272.6
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#2723A5
secondary
#C0C460
accent
#E840E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2723A5

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

Preview Lab → · Contrast checker → · Palette generator →

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