#272285#272285

#272285 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.158 H 275.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#272285
RGBrgb(39, 34, 133)
HSLhsl(243, 59%, 33%)
HSVhsv(243, 74%, 52%)
CMYKcmyk(70.7%, 74.4%, 0%, 47.8%)
CIE-LABlab(21.09, 35.17, -54.33)
CIE-LCHlch(21.09, 64.72, 302.92°)
OKLaboklab(33.48% 0.0162 -0.157)
OKLCHoklch(33.48% 0.158 275.9)
XYZxyz(5.6410, 3.2683, 22.5193)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272285 #808522
analogous
#224F85 #272285 #582285
triadic
#272285 #852722 #228527
tetradic
#272285 #85224F #808522 #228558
square
#272285 #85224F #808522 #228558
split-complementary
#272285 #855822 #4F8522
monochromatic
#0A0924 #191654 #272285 #352EB6 #564FD2

Accessibility & contrast

On white

12.70
#272285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#272285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272285
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272285#FFFFFF#000000##FFFFFF
##2722851.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272285;
/* rgb */ color: rgb(39, 34, 133);
/* oklch */ color: oklch(33.5% 0.158 275.9);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#272285',
    950: '#000000',
  },
}
SCSS
$custom: #272285;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#272285",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 243.03,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33475,
    "c": 0.15784,
    "h": 275.9
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#272285
secondary
#B0B64D
accent
#E245DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272285

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

Preview Lab → · Contrast checker → · Palette generator →

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