#272AA9#272AA9

#272AA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.195 H 271.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#272AA9
RGBrgb(39, 42, 169)
HSLhsl(239, 63%, 41%)
HSVhsv(239, 77%, 66%)
CMYKcmyk(76.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.59, 42.80, -67.40)
CIE-LCHlch(26.59, 79.84, 302.42°)
OKLaboklab(38.53% 0.0054 -0.1951)
OKLCHoklch(38.53% 0.195 271.6)
XYZxyz(8.8237, 4.9509, 38.0190)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AA9 #A9A627
analogous
#276BA9 #272AA9 #6527A9
triadic
#272AA9 #A9272A #2AA927
tetradic
#272AA9 #A9276B #A9A627 #27A965
square
#272AA9 #A9276B #A9A627 #27A965
split-complementary
#272AA9 #A96527 #6BA927
monochromatic
#101146 #1C1E77 #272AA9 #3B3FD2 #6D70DD

Accessibility & contrast

On white

10.55
#272AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#272AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AA9
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AA9#FFFFFF#000000##FFFFFF
##272AA91.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272aa9;
/* rgb */ color: rgb(39, 42, 169);
/* oklch */ color: oklch(38.5% 0.195 271.6);
Tailwind
colors: {
  custom: {
    50: '#7865c4',
    500: '#272aa9',
    950: '#000000',
  },
}
SCSS
$custom: #272aa9;
$custom-light: #7865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272aa9",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 238.615,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.19518,
    "h": 271.6
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#272AA9
secondary
#C4C268
accent
#E242E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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