#272673#272673

#272673 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.128 H 277.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#272673
RGBrgb(39, 38, 115)
HSLhsl(241, 50%, 30%)
HSVhsv(241, 67%, 45%)
CMYKcmyk(66.1%, 67%, 0%, 54.9%)
CIE-LABlab(20.26, 26.21, -44.24)
CIE-LCHlch(20.26, 51.42, 300.65°)
OKLaboklab(32.34% 0.0157 -0.1275)
OKLCHoklch(32.34% 0.128 277)
XYZxyz(4.6233, 3.0550, 16.5624)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272673 #727326
analogous
#264C73 #272673 #4D2673
triadic
#272673 #732726 #267327
tetradic
#272673 #73264C #727326 #26734D
square
#272673 #73264C #727326 #26734D
split-complementary
#272673 #734D26 #4C7326
monochromatic
#080817 #171745 #272673 #3735A1 #504FC5

Accessibility & contrast

On white

13.04
#272673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#272673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272673
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272673#FFFFFF#000000##FFFFFF
##2726731.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272673;
/* rgb */ color: rgb(39, 38, 115);
/* oklch */ color: oklch(32.3% 0.128 277.0);
Tailwind
colors: {
  custom: {
    50: '#6b609c',
    500: '#272673',
    950: '#000000',
  },
}
SCSS
$custom: #272673;
$custom-light: #6b609c;
$custom-dark: #000000;
JSON
{
  "hex": "#272673",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 240.779,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.12844,
    "h": 277
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#272673
secondary
#A4A64F
accent
#DA4ED8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272673

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

Preview Lab → · Contrast checker → · Palette generator →

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