#272373#272373

#272373 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.132 H 278.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#272373
RGBrgb(39, 35, 115)
HSLhsl(243, 53%, 29%)
HSVhsv(243, 70%, 45%)
CMYKcmyk(66.1%, 69.6%, 0%, 54.9%)
CIE-LABlab(19.52, 28.20, -45.46)
CIE-LCHlch(19.52, 53.49, 301.81°)
OKLaboklab(31.8% 0.0183 -0.1311)
OKLCHoklch(31.8% 0.132 278)
XYZxyz(4.5312, 2.8708, 16.5317)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272373 #6F7323
analogous
#234773 #272373 #4F2373
triadic
#272373 #732723 #237327
tetradic
#272373 #732347 #6F7323 #23734F
square
#272373 #732347 #6F7323 #23734F
split-complementary
#272373 #734F23 #477323
monochromatic
#080717 #171544 #272373 #3731A2 #4F49C8

Accessibility & contrast

On white

13.34
#272373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#272373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272373
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272373#FFFFFF#000000##FFFFFF
##2723731.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #272373;
/* rgb */ color: rgb(39, 35, 115);
/* oklch */ color: oklch(31.8% 0.132 278.0);
Tailwind
colors: {
  custom: {
    50: '#6b5e9c',
    500: '#272373',
    950: '#000000',
  },
}
SCSS
$custom: #272373;
$custom-light: #6b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#272373",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 243,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.13234,
    "h": 278
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#272373
secondary
#A2A64C
accent
#DD4BD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #272373

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

Preview Lab → · Contrast checker → · Palette generator →

#272373 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva