#272CBA#272CBA

#272CBA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.214 H 270.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#272CBA
RGBrgb(39, 44, 186)
HSLhsl(238, 65%, 44%)
HSVhsv(238, 79%, 73%)
CMYKcmyk(79%, 76.3%, 0%, 27.1%)
CIE-LABlab(28.84, 47.37, -73.84)
CIE-LCHlch(28.84, 87.73, 302.68°)
OKLaboklab(40.67% 0.0017 -0.2138)
OKLCHoklch(40.67% 0.214 270.5)
XYZxyz(10.5973, 5.7767, 47.0013)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CBA #BAB527
analogous
#2776BA #272CBA #6C27BA
triadic
#272CBA #BA272C #2CBA27
tetradic
#272CBA #BA2776 #BAB527 #27BA6C
square
#272CBA #BA2776 #BAB527 #27BA6C
split-complementary
#272CBA #BA6C27 #76BA27
monochromatic
#121455 #1C2087 #272CBA #464BD8 #797CE3

Accessibility & contrast

On white

9.74
#272CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#272CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CBA
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CBA#FFFFFF#000000##FFFFFF
##272CBA1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #272cba;
/* rgb */ color: rgb(39, 44, 186);
/* oklch */ color: oklch(40.7% 0.214 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c67d0',
    500: '#272cba',
    950: '#000000',
  },
}
SCSS
$custom: #272cba;
$custom-light: #7c67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#272cba",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 237.959,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.21385,
    "h": 270.5
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#272CBA
secondary
#CBC872
accent
#E340E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #272CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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