#272FC4#272FC4

#272FC4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.223 H 269.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#272FC4
RGBrgb(39, 47, 196)
HSLhsl(237, 67%, 46%)
HSVhsv(237, 80%, 77%)
CMYKcmyk(80.1%, 76%, 0%, 23.1%)
CIE-LABlab(30.52, 49.02, -76.96)
CIE-LCHlch(30.52, 91.25, 302.50°)
OKLaboklab(42.18% -0.0009 -0.2229)
OKLCHoklch(42.18% 0.223 269.8)
XYZxyz(11.8136, 6.4485, 52.8359)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FC4 #C4BC27
analogous
#277DC4 #272FC4 #6D27C4
triadic
#272FC4 #C4272F #2FC427
tetradic
#272FC4 #C4277D #C4BC27 #27C46D
square
#272FC4 #C4277D #C4BC27 #27C46D
split-complementary
#272FC4 #C46D27 #7DC427
monochromatic
#13175E #1D2391 #272FC4 #4D54DC #8085E6

Accessibility & contrast

On white

9.17
#272FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#272FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FC4
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FC4#FFFFFF#000000##FFFFFF
##272FC41.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0040C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #272fc4;
/* rgb */ color: rgb(39, 47, 196);
/* oklch */ color: oklch(42.2% 0.223 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ad7',
    500: '#272fc4',
    950: '#000000',
  },
}
SCSS
$custom: #272fc4;
$custom-light: #7e6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#272fc4",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 236.943,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.22294,
    "h": 269.8
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#272FC4
secondary
#CECA79
accent
#E13EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #272FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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