#272896#272896

#272896 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.173 H 273.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#272896
RGBrgb(39, 40, 150)
HSLhsl(239, 59%, 37%)
HSVhsv(239, 74%, 59%)
CMYKcmyk(74%, 73.3%, 0%, 41.2%)
CIE-LABlab(24.16, 37.45, -59.84)
CIE-LCHlch(24.16, 70.59, 302.04°)
OKLaboklab(36.2% 0.0096 -0.1731)
OKLCHoklch(36.2% 0.173 273.2)
XYZxyz(7.0987, 4.1502, 29.2752)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272896 #969527
analogous
#276096 #272896 #5D2796
triadic
#272896 #962728 #289627
tetradic
#272896 #962760 #969527 #27965D
square
#272896 #962760 #969527 #27965D
split-complementary
#272896 #965D27 #609627
monochromatic
#0E0E35 #1A1B65 #272896 #3435C7 #6162D6

Accessibility & contrast

On white

11.47
#272896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272896
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272896#FFFFFF#000000##FFFFFF
##2728961.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272896;
/* rgb */ color: rgb(39, 40, 150);
/* oklch */ color: oklch(36.2% 0.173 273.2);
Tailwind
colors: {
  custom: {
    50: '#7363b6',
    500: '#272896',
    950: '#000000',
  },
}
SCSS
$custom: #272896;
$custom-light: #7363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272896",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 239.459,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36201,
    "c": 0.17338,
    "h": 273.2
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#272896
secondary
#BCBB5D
accent
#E146E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272896

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

Preview Lab → · Contrast checker → · Palette generator →

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