#272DC4#272DC4

#272DC4 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.225 H 269.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#272DC4
RGBrgb(39, 45, 196)
HSLhsl(238, 67%, 46%)
HSVhsv(238, 80%, 77%)
CMYKcmyk(80.1%, 77%, 0%, 23.1%)
CIE-LABlab(30.14, 50.10, -77.59)
CIE-LCHlch(30.14, 92.36, 302.85°)
OKLaboklab(41.91% -0.0003 -0.2247)
OKLCHoklch(41.91% 0.225 269.9)
XYZxyz(11.7355, 6.2923, 52.8099)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DC4 #C4BE27
analogous
#277BC4 #272DC4 #6F27C4
triadic
#272DC4 #C4272D #2DC427
tetradic
#272DC4 #C4277B #C4BE27 #27C46F
square
#272DC4 #C4277B #C4BE27 #27C46F
split-complementary
#272DC4 #C46F27 #7BC427
monochromatic
#13165E #1D2191 #272DC4 #4D52DC #8084E6

Accessibility & contrast

On white

9.30
#272DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#272DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DC4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DC4#FFFFFF#000000##FFFFFF
##272DC41.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#003FC1
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #272dc4;
/* rgb */ color: rgb(39, 45, 196);
/* oklch */ color: oklch(41.9% 0.225 269.9);
Tailwind
colors: {
  custom: {
    50: '#7e68d7',
    500: '#272dc4',
    950: '#000000',
  },
}
SCSS
$custom: #272dc4;
$custom-light: #7e68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#272dc4",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 237.707,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.22474,
    "h": 269.9
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#272DC4
secondary
#CECB79
accent
#E33EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #272DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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