#272185#272185

#272185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.159 H 276.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#272185
RGBrgb(39, 33, 133)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 52%)
CMYKcmyk(70.7%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.87, 35.77, -54.68)
CIE-LCHlch(20.87, 65.34, 303.19°)
OKLaboklab(33.32% 0.0168 -0.158)
OKLCHoklch(33.32% 0.159 276.1)
XYZxyz(5.6128, 3.2120, 22.5099)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272185 #7F8521
analogous
#214D85 #272185 #592185
triadic
#272185 #852721 #218527
tetradic
#272185 #85214D #7F8521 #218559
square
#272185 #85214D #7F8521 #218559
split-complementary
#272185 #855921 #4D8521
monochromatic
#0A0923 #191554 #272185 #352DB6 #554DD3

Accessibility & contrast

On white

12.78
#272185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#272185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272185
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272185#FFFFFF#000000##FFFFFF
##2721851.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272185;
/* rgb */ color: rgb(39, 33, 133);
/* oklch */ color: oklch(33.3% 0.159 276.1);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#272185',
    950: '#000000',
  },
}
SCSS
$custom: #272185;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#272185",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 243.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.15893,
    "h": 276.1
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#272185
secondary
#B0B64C
accent
#E344DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272185

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

Preview Lab → · Contrast checker → · Palette generator →

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