#272376#272376

#272376 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.137 H 277.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#272376
RGBrgb(39, 35, 118)
HSLhsl(243, 54%, 30%)
HSVhsv(243, 70%, 46%)
CMYKcmyk(66.9%, 70.3%, 0%, 53.7%)
CIE-LABlab(19.81, 29.27, -46.91)
CIE-LCHlch(19.81, 55.30, 301.96°)
OKLaboklab(32.1% 0.0179 -0.1353)
OKLCHoklch(32.1% 0.137 277.6)
XYZxyz(4.7067, 2.9410, 17.4557)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272376 #727623
analogous
#234876 #272376 #512376
triadic
#272376 #762723 #237627
tetradic
#272376 #762348 #727623 #237651
square
#272376 #762348 #727623 #237651
split-complementary
#272376 #765123 #487623
monochromatic
#080718 #171547 #272376 #3731A5 #504AC9

Accessibility & contrast

On white

13.22
#272376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#272376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272376
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272376#FFFFFF#000000##FFFFFF
##2723761.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #272376;
/* rgb */ color: rgb(39, 35, 118);
/* oklch */ color: oklch(32.1% 0.137 277.6);
Tailwind
colors: {
  custom: {
    50: '#6c5e9e',
    500: '#272376',
    950: '#000000',
  },
}
SCSS
$custom: #272376;
$custom-light: #6c5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#272376",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 242.892,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32097,
    "c": 0.13651,
    "h": 277.6
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#272376
secondary
#A4A94C
accent
#DE4AD7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #272376

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

Preview Lab → · Contrast checker → · Palette generator →

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