#272BC4#272BC4

#272BC4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.226 H 270.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#272BC4
RGBrgb(39, 43, 196)
HSLhsl(238, 67%, 46%)
HSVhsv(238, 80%, 77%)
CMYKcmyk(80.1%, 78.1%, 0%, 23.1%)
CIE-LABlab(29.77, 51.16, -78.20)
CIE-LCHlch(29.77, 93.45, 303.19°)
OKLaboklab(41.65% 0.0002 -0.2265)
OKLCHoklch(41.65% 0.226 270.1)
XYZxyz(11.6610, 6.1433, 52.7850)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BC4 #C4C027
analogous
#2779C4 #272BC4 #7127C4
triadic
#272BC4 #C4272B #2BC427
tetradic
#272BC4 #C42779 #C4C027 #27C471
square
#272BC4 #C42779 #C4C027 #27C471
split-complementary
#272BC4 #C47127 #79C427
monochromatic
#13155E #1D2091 #272BC4 #4D50DC #8082E6

Accessibility & contrast

On white

9.42
#272BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#272BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BC4
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BC4#FFFFFF#000000##FFFFFF
##272BC41.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272bc4;
/* rgb */ color: rgb(39, 43, 196);
/* oklch */ color: oklch(41.6% 0.226 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e67d7',
    500: '#272bc4',
    950: '#000000',
  },
}
SCSS
$custom: #272bc4;
$custom-light: #7e67d7;
$custom-dark: #000000;
JSON
{
  "hex": "#272bc4",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 238.471,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.22648,
    "h": 270.1
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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