#272188#272188

#272188 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.163 H 275.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#272188
RGBrgb(39, 33, 136)
HSLhsl(243, 61%, 33%)
HSVhsv(243, 76%, 53%)
CMYKcmyk(71.3%, 75.7%, 0%, 46.7%)
CIE-LABlab(21.19, 36.80, -56.04)
CIE-LCHlch(21.19, 67.04, 303.29°)
OKLaboklab(33.64% 0.0162 -0.162)
OKLCHoklch(33.64% 0.163 275.7)
XYZxyz(5.8230, 3.2961, 23.6171)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272188 #828821
analogous
#214E88 #272188 #5A2188
triadic
#272188 #882721 #218827
tetradic
#272188 #88214E #828821 #21885A
square
#272188 #88214E #828821 #21885A
split-complementary
#272188 #885A21 #4E8821
monochromatic
#0B0925 #191557 #272188 #352DB9 #574FD4

Accessibility & contrast

On white

12.66
#272188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#272188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272188
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272188#FFFFFF#000000##FFFFFF
##2721881.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272188;
/* rgb */ color: rgb(39, 33, 136);
/* oklch */ color: oklch(33.6% 0.163 275.7);
Tailwind
colors: {
  custom: {
    50: '#715eac',
    500: '#272188',
    950: '#000000',
  },
}
SCSS
$custom: #272188;
$custom-light: #715eac;
$custom-dark: #000000;
JSON
{
  "hex": "#272188",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 243.495,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.1628,
    "h": 275.7
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#272188
secondary
#B1B84D
accent
#E444DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272188

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

Preview Lab → · Contrast checker → · Palette generator →

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