#272283#272283

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

Color values

HEX#272283
RGBrgb(39, 34, 131)
HSLhsl(243, 59%, 32%)
HSVhsv(243, 74%, 51%)
CMYKcmyk(70.2%, 74%, 0%, 48.6%)
CIE-LABlab(20.88, 34.48, -53.41)
CIE-LCHlch(20.88, 63.58, 302.84°)
OKLaboklab(33.26% 0.0165 -0.1543)
OKLCHoklch(33.26% 0.155 276.1)
XYZxyz(5.5041, 3.2136, 21.7985)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272283 #7E8322
analogous
#224D83 #272283 #582283
triadic
#272283 #832722 #228327
tetradic
#272283 #83224D #7E8322 #228358
square
#272283 #83224D #7E8322 #228358
split-complementary
#272283 #835822 #4D8322
monochromatic
#0A0922 #191552 #272283 #352FB4 #554ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272283#FFFFFF#000000##FFFFFF
##2722831.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)
#003686
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272283;
/* rgb */ color: rgb(39, 34, 131);
/* oklch */ color: oklch(33.3% 0.155 276.1);
Tailwind
colors: {
  custom: {
    50: '#6f5ea8',
    500: '#272283',
    950: '#000000',
  },
}
SCSS
$custom: #272283;
$custom-light: #6f5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#272283",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 243.093,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33264,
    "c": 0.15522,
    "h": 276.1
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#272283
secondary
#AFB44C
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272283

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

Preview Lab → · Contrast checker → · Palette generator →

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