#272183#272183

#272183 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.156 H 276.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#272183
RGBrgb(39, 33, 131)
HSLhsl(244, 60%, 32%)
HSVhsv(244, 75%, 51%)
CMYKcmyk(70.2%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.66, 35.08, -53.77)
CIE-LCHlch(20.66, 64.20, 303.12°)
OKLaboklab(33.11% 0.0172 -0.1554)
OKLCHoklch(33.11% 0.156 276.3)
XYZxyz(5.4760, 3.1572, 21.7892)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272183 #7D8321
analogous
#214C83 #272183 #582183
triadic
#272183 #832721 #218327
tetradic
#272183 #83214C #7D8321 #218358
square
#272183 #83214C #7D8321 #218358
split-complementary
#272183 #835821 #4C8321
monochromatic
#0A0821 #181552 #272183 #362DB4 #554CD2

Accessibility & contrast

On white

12.87
#272183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272183
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272183#FFFFFF#000000##FFFFFF
##2721831.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272183;
/* rgb */ color: rgb(39, 33, 131);
/* oklch */ color: oklch(33.1% 0.156 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f5ea8',
    500: '#272183',
    950: '#000000',
  },
}
SCSS
$custom: #272183;
$custom-light: #6f5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#272183",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 243.673,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.15632,
    "h": 276.3
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#272183
secondary
#AFB54B
accent
#E345D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272183

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

Preview Lab → · Contrast checker → · Palette generator →

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