#272DA4#272DA4

#272DA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.186 H 271.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#272DA4
RGBrgb(39, 45, 164)
HSLhsl(237, 62%, 40%)
HSVhsv(237, 76%, 64%)
CMYKcmyk(76.2%, 72.6%, 0%, 35.7%)
CIE-LABlab(26.70, 39.32, -64.20)
CIE-LCHlch(26.70, 75.28, 301.48°)
OKLaboklab(38.45% 0.0049 -0.1858)
OKLCHoklch(38.45% 0.186 271.5)
XYZxyz(8.4737, 4.9875, 35.6309)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA4 #A49E27
analogous
#276CA4 #272DA4 #6027A4
triadic
#272DA4 #A4272D #2DA427
tetradic
#272DA4 #A4276C #A49E27 #27A460
square
#272DA4 #A4276C #A49E27 #27A460
split-complementary
#272DA4 #A46027 #6CA427
monochromatic
#0F1241 #1B1F73 #272DA4 #3840D0 #6A6FDC

Accessibility & contrast

On white

10.51
#272DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#272DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA4
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA4#FFFFFF#000000##FFFFFF
##272DA41.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272da4;
/* rgb */ color: rgb(39, 45, 164);
/* oklch */ color: oklch(38.5% 0.186 271.5);
Tailwind
colors: {
  custom: {
    50: '#7667c0',
    500: '#272da4',
    950: '#000000',
  },
}
SCSS
$custom: #272da4;
$custom-light: #7667c0;
$custom-dark: #000000;
JSON
{
  "hex": "#272da4",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 237.12,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.1859,
    "h": 271.5
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#272DA4
secondary
#C2BD65
accent
#DD43E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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