#272CA0#272CA0

#272CA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.182 H 271.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#272CA0
RGBrgb(39, 44, 160)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(75.6%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.07, 38.52, -62.81)
CIE-LCHlch(26.07, 73.69, 301.52°)
OKLaboklab(37.88% 0.0059 -0.1818)
OKLCHoklch(37.88% 0.182 271.9)
XYZxyz(8.0804, 4.7699, 33.7457)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CA0 #A09B27
analogous
#2769A0 #272CA0 #5F27A0
triadic
#272CA0 #A0272C #2CA027
tetradic
#272CA0 #A02769 #A09B27 #27A05F
square
#272CA0 #A02769 #A09B27 #27A05F
split-complementary
#272CA0 #A05F27 #69A027
monochromatic
#0F113E #1B1E6F #272CA0 #363CCE #676CDA

Accessibility & contrast

On white

10.75
#272CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#272CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CA0
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CA0#FFFFFF#000000##FFFFFF
##272CA01.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272ca0;
/* rgb */ color: rgb(39, 44, 160);
/* oklch */ color: oklch(37.9% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#7566bd',
    500: '#272ca0',
    950: '#000000',
  },
}
SCSS
$custom: #272ca0;
$custom-light: #7566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272ca0",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 237.521,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.18189,
    "h": 271.9
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#272CA0
secondary
#C0BC63
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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