#272296#272296

#272296 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.179 H 274.0°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#272296
RGBrgb(39, 34, 150)
HSLhsl(243, 63%, 36%)
HSVhsv(243, 77%, 59%)
CMYKcmyk(74%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.92, 40.95, -61.89)
CIE-LCHlch(22.92, 74.21, 303.49°)
OKLaboklab(35.32% 0.0127 -0.179)
OKLCHoklch(35.32% 0.179 274)
XYZxyz(6.9119, 3.7767, 29.2130)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272296 #919622
analogous
#225796 #272296 #612296
triadic
#272296 #962722 #229627
tetradic
#272296 #962257 #919622 #229661
square
#272296 #962257 #919622 #229661
split-complementary
#272296 #966122 #579622
monochromatic
#0D0B32 #1A1764 #272296 #342DC8 #5F59D9

Accessibility & contrast

On white

11.96
#272296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#272296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272296
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272296#FFFFFF#000000##FFFFFF
##2722961.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272296;
/* rgb */ color: rgb(39, 34, 150);
/* oklch */ color: oklch(35.3% 0.179 274.0);
Tailwind
colors: {
  custom: {
    50: '#745fb6',
    500: '#272296',
    950: '#000000',
  },
}
SCSS
$custom: #272296;
$custom-light: #745fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#272296",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 242.586,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.17949,
    "h": 274
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#272296
secondary
#B9BE56
accent
#E642DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #272296

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

Preview Lab → · Contrast checker → · Palette generator →

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