#272C83#272C83

#272C83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.143 H 273.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#272C83
RGBrgb(39, 44, 131)
HSLhsl(237, 54%, 33%)
HSVhsv(237, 70%, 51%)
CMYKcmyk(70.2%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.24, 28.08, -49.54)
CIE-LCHlch(23.24, 56.95, 299.55°)
OKLaboklab(34.97% 0.0093 -0.143)
OKLCHoklch(34.97% 0.143 273.7)
XYZxyz(5.8328, 3.8709, 21.9081)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C83 #837E27
analogous
#275A83 #272C83 #502783
triadic
#272C83 #83272C #2C8327
tetradic
#272C83 #83275A #837E27 #278350
square
#272C83 #83275A #837E27 #278350
split-complementary
#272C83 #835027 #5A8327
monochromatic
#0B0C25 #191C54 #272C83 #353CB2 #575ECD

Accessibility & contrast

On white

11.84
#272C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#272C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C83
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C83#FFFFFF#000000##FFFFFF
##272C831.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272c83;
/* rgb */ color: rgb(39, 44, 131);
/* oklch */ color: oklch(35.0% 0.143 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e65a8',
    500: '#272c83',
    950: '#000000',
  },
}
SCSS
$custom: #272c83;
$custom-light: #6e65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#272c83",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 236.739,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.14329,
    "h": 273.7
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#272C83
secondary
#B2AD54
accent
#D54ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272C83

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

Preview Lab → · Contrast checker → · Palette generator →

#272C83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva