#272483#272483

#272483 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.153 H 275.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#272483
RGBrgb(39, 36, 131)
HSLhsl(242, 57%, 33%)
HSVhsv(242, 73%, 51%)
CMYKcmyk(70.2%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.32, 33.25, -52.68)
CIE-LCHlch(21.32, 62.30, 302.26°)
OKLaboklab(33.58% 0.0152 -0.1522)
OKLCHoklch(33.58% 0.153 275.7)
XYZxyz(5.5630, 3.3313, 21.8182)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272483 #808324
analogous
#245083 #272483 #572483
triadic
#272483 #832724 #248327
tetradic
#272483 #832450 #808324 #248357
square
#272483 #832450 #808324 #248357
split-complementary
#272483 #835724 #508324
monochromatic
#0A0A23 #191753 #272483 #3531B3 #5652CF

Accessibility & contrast

On white

12.60
#272483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272483
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272483#FFFFFF#000000##FFFFFF
##2724831.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272483;
/* rgb */ color: rgb(39, 36, 131);
/* oklch */ color: oklch(33.6% 0.153 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f60a8',
    500: '#272483',
    950: '#000000',
  },
}
SCSS
$custom: #272483;
$custom-light: #6f60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#272483",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 241.895,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.15297,
    "h": 275.7
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#272483
secondary
#B0B34F
accent
#E048DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272483

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

Preview Lab → · Contrast checker → · Palette generator →

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