#272CB4#272CB4

#272CB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.207 H 270.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#272CB4
RGBrgb(39, 44, 180)
HSLhsl(238, 64%, 43%)
HSVhsv(238, 78%, 71%)
CMYKcmyk(78.3%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.19, 45.37, -71.36)
CIE-LCHlch(28.19, 84.56, 302.45°)
OKLaboklab(40.01% 0.0027 -0.2066)
OKLCHoklch(40.01% 0.207 270.8)
XYZxyz(9.9728, 5.5269, 43.7124)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CB4 #B4AF27
analogous
#2773B4 #272CB4 #6827B4
triadic
#272CB4 #B4272C #2CB427
tetradic
#272CB4 #B42773 #B4AF27 #27B468
square
#272CB4 #B42773 #B4AF27 #27B468
split-complementary
#272CB4 #B46827 #73B427
monochromatic
#11134F #1C2082 #272CB4 #4247D6 #7478E1

Accessibility & contrast

On white

9.97
#272CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#272CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CB4
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CB4#FFFFFF#000000##FFFFFF
##272CB41.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272cb4;
/* rgb */ color: rgb(39, 44, 180);
/* oklch */ color: oklch(40.0% 0.207 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a67cc',
    500: '#272cb4',
    950: '#000000',
  },
}
SCSS
$custom: #272cb4;
$custom-light: #7a67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#272cb4",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 237.872,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.20666,
    "h": 270.8
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#272CB4
secondary
#C8C56F
accent
#E140E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #272CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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