#272CC4#272CC4

#272CC4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.226 H 270.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#272CC4
RGBrgb(39, 44, 196)
HSLhsl(238, 67%, 46%)
HSVhsv(238, 80%, 77%)
CMYKcmyk(80.1%, 77.6%, 0%, 23.1%)
CIE-LABlab(29.95, 50.63, -77.90)
CIE-LCHlch(29.95, 92.91, 303.03°)
OKLaboklab(41.78% -0.0001 -0.2256)
OKLCHoklch(41.78% 0.226 270)
XYZxyz(11.6978, 6.2169, 52.7973)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CC4 #C4BF27
analogous
#277AC4 #272CC4 #7027C4
triadic
#272CC4 #C4272C #2CC427
tetradic
#272CC4 #C4277A #C4BF27 #27C470
square
#272CC4 #C4277A #C4BF27 #27C470
split-complementary
#272CC4 #C47027 #7AC427
monochromatic
#13155E #1D2191 #272CC4 #4D51DC #8083E6

Accessibility & contrast

On white

9.36
#272CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#272CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CC4
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CC4#FFFFFF#000000##FFFFFF
##272CC41.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #272cc4;
/* rgb */ color: rgb(39, 44, 196);
/* oklch */ color: oklch(41.8% 0.226 270.0);
Tailwind
colors: {
  custom: {
    50: '#7e68d7',
    500: '#272cc4',
    950: '#000000',
  },
}
SCSS
$custom: #272cc4;
$custom-light: #7e68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#272cc4",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 238.089,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41778,
    "c": 0.22561,
    "h": 270
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#272CC4
secondary
#CECC79
accent
#E43EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #272CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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