#272895#272895

#272895 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.172 H 273.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#272895
RGBrgb(39, 40, 149)
HSLhsl(239, 59%, 37%)
HSVhsv(239, 74%, 58%)
CMYKcmyk(73.8%, 73.2%, 0%, 41.6%)
CIE-LABlab(24.06, 37.10, -59.40)
CIE-LCHlch(24.06, 70.03, 301.99°)
OKLaboklab(36.1% 0.0098 -0.1718)
OKLCHoklch(36.1% 0.172 273.3)
XYZxyz(7.0185, 4.1181, 28.8529)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272895 #959427
analogous
#275F95 #272895 #5D2795
triadic
#272895 #952728 #289527
tetradic
#272895 #95275F #959427 #27955D
square
#272895 #95275F #959427 #27955D
split-complementary
#272895 #955D27 #5F9527
monochromatic
#0E0E34 #1A1B64 #272895 #3435C6 #6162D6

Accessibility & contrast

On white

11.51
#272895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272895
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272895#FFFFFF#000000##FFFFFF
##2728951.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272895;
/* rgb */ color: rgb(39, 40, 149);
/* oklch */ color: oklch(36.1% 0.172 273.3);
Tailwind
colors: {
  custom: {
    50: '#7363b5',
    500: '#272895',
    950: '#000000',
  },
}
SCSS
$custom: #272895;
$custom-light: #7363b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272895",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 239.455,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36095,
    "c": 0.17209,
    "h": 273.3
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#272895
secondary
#BBBA5D
accent
#E046E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272895

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

Preview Lab → · Contrast checker → · Palette generator →

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