#272289#272289

#272289 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.163 H 275.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#272289
RGBrgb(39, 34, 137)
HSLhsl(243, 60%, 34%)
HSVhsv(243, 75%, 54%)
CMYKcmyk(71.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.51, 36.55, -56.15)
CIE-LCHlch(21.51, 66.99, 303.06°)
OKLaboklab(33.9% 0.0154 -0.1623)
OKLCHoklch(33.9% 0.163 275.4)
XYZxyz(5.9226, 3.3810, 24.0025)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272289 #848922
analogous
#225089 #272289 #5A2289
triadic
#272289 #892722 #228927
tetradic
#272289 #892250 #848922 #22895A
square
#272289 #892250 #848922 #22895A
split-complementary
#272289 #895A22 #508922
monochromatic
#0B0A27 #191658 #272289 #352EBA #5851D4

Accessibility & contrast

On white

12.53
#272289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#272289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272289
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272289#FFFFFF#000000##FFFFFF
##2722891.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272289;
/* rgb */ color: rgb(39, 34, 137);
/* oklch */ color: oklch(33.9% 0.163 275.4);
Tailwind
colors: {
  custom: {
    50: '#715fad',
    500: '#272289',
    950: '#000000',
  },
}
SCSS
$custom: #272289;
$custom-light: #715fad;
$custom-dark: #000000;
JSON
{
  "hex": "#272289",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 242.913,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.16304,
    "h": 275.4
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#272289
secondary
#B2B84F
accent
#E344DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272289

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

Preview Lab → · Contrast checker → · Palette generator →

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