#272FA8#272FA8

#272FA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.189 H 271.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#272FA8
RGBrgb(39, 47, 168)
HSLhsl(236, 62%, 41%)
HSVhsv(236, 77%, 66%)
CMYKcmyk(76.8%, 72%, 0%, 34.1%)
CIE-LABlab(27.55, 39.51, -65.22)
CIE-LCHlch(27.55, 76.25, 301.20°)
OKLaboklab(39.18% 0.0033 -0.1888)
OKLCHoklch(39.18% 0.189 271)
XYZxyz(8.9187, 5.2906, 37.5893)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FA8 #A8A027
analogous
#276FA8 #272FA8 #5F27A8
triadic
#272FA8 #A8272F #2FA827
tetradic
#272FA8 #A8276F #A8A027 #27A85F
square
#272FA8 #A8276F #A8A027 #27A85F
split-complementary
#272FA8 #A85F27 #6FA827
monochromatic
#101345 #1B2176 #272FA8 #3B44D1 #6C73DD

Accessibility & contrast

On white

10.20
#272FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#272FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FA8
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FA8#FFFFFF#000000##FFFFFF
##272FA81.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272fa8;
/* rgb */ color: rgb(39, 47, 168);
/* oklch */ color: oklch(39.2% 0.189 271.0);
Tailwind
colors: {
  custom: {
    50: '#7768c3',
    500: '#272fa8',
    950: '#000000',
  },
}
SCSS
$custom: #272fa8;
$custom-light: #7768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#272fa8",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 236.279,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.18884,
    "h": 271
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#272FA8
secondary
#C3BE67
accent
#DB42E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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