#272389#272389

#272389 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.162 H 275.2°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#272389
RGBrgb(39, 35, 137)
HSLhsl(242, 59%, 34%)
HSVhsv(242, 74%, 54%)
CMYKcmyk(71.5%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.72, 35.95, -55.79)
CIE-LCHlch(21.72, 66.37, 302.80°)
OKLaboklab(34.05% 0.0148 -0.1613)
OKLCHoklch(34.05% 0.162 275.2)
XYZxyz(5.9516, 3.4390, 24.0122)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272389 #858923
analogous
#235289 #272389 #5A2389
triadic
#272389 #892723 #238927
tetradic
#272389 #892352 #858923 #23895A
square
#272389 #892352 #858923 #23895A
split-complementary
#272389 #895A23 #528923
monochromatic
#0B0A28 #191758 #272389 #352FBA #5853D3

Accessibility & contrast

On white

12.44
#272389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#272389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272389
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272389#FFFFFF#000000##FFFFFF
##2723891.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272389;
/* rgb */ color: rgb(39, 35, 137);
/* oklch */ color: oklch(34.1% 0.162 275.2);
Tailwind
colors: {
  custom: {
    50: '#715fac',
    500: '#272389',
    950: '#000000',
  },
}
SCSS
$custom: #272389;
$custom-light: #715fac;
$custom-dark: #000000;
JSON
{
  "hex": "#272389",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 242.353,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.16196,
    "h": 275.2
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#272389
secondary
#B3B751
accent
#E245DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #272389

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

Preview Lab → · Contrast checker → · Palette generator →

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