#272AA0#272AA0

#272AA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.184 H 272.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#272AA0
RGBrgb(39, 42, 160)
HSLhsl(239, 61%, 39%)
HSVhsv(239, 76%, 63%)
CMYKcmyk(75.6%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.64, 39.72, -63.53)
CIE-LCHlch(25.64, 74.92, 302.02°)
OKLaboklab(37.57% 0.0069 -0.1839)
OKLCHoklch(37.57% 0.184 272.2)
XYZxyz(8.0077, 4.6245, 33.7215)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AA0 #A09D27
analogous
#2767A0 #272AA0 #6127A0
triadic
#272AA0 #A0272A #2AA027
tetradic
#272AA0 #A02767 #A09D27 #27A061
square
#272AA0 #A02767 #A09D27 #27A061
split-complementary
#272AA0 #A06127 #67A027
monochromatic
#0F103E #1B1D6F #272AA0 #363ACE #676ADA

Accessibility & contrast

On white

10.91
#272AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#272AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AA0
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AA0#FFFFFF#000000##FFFFFF
##272AA01.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272aa0;
/* rgb */ color: rgb(39, 42, 160);
/* oklch */ color: oklch(37.6% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#7665bd',
    500: '#272aa0',
    950: '#000000',
  },
}
SCSS
$custom: #272aa0;
$custom-light: #7665bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272aa0",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 238.512,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37566,
    "c": 0.18399,
    "h": 272.2
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#272AA0
secondary
#C0BE63
accent
#E044E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #272AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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