#272DA1#272DA1

#272DA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.182 H 271.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#272DA1
RGBrgb(39, 45, 161)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(75.8%, 72%, 0%, 36.9%)
CIE-LABlab(26.39, 38.27, -62.89)
CIE-LCHlch(26.39, 73.62, 301.32°)
OKLaboklab(38.14% 0.0053 -0.182)
OKLCHoklch(38.14% 0.182 271.7)
XYZxyz(8.2059, 4.8804, 34.2209)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA1 #A19B27
analogous
#276AA1 #272DA1 #5E27A1
triadic
#272DA1 #A1272D #2DA127
tetradic
#272DA1 #A1276A #A19B27 #27A15E
square
#272DA1 #A1276A #A19B27 #27A15E
split-complementary
#272DA1 #A15E27 #6AA127
monochromatic
#0F113E #1B1F70 #272DA1 #373ECE #686EDA

Accessibility & contrast

On white

10.63
#272DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#272DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA1
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA1#FFFFFF#000000##FFFFFF
##272DA11.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272da1;
/* rgb */ color: rgb(39, 45, 161);
/* oklch */ color: oklch(38.1% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#7567be',
    500: '#272da1',
    950: '#000000',
  },
}
SCSS
$custom: #272da1;
$custom-light: #7567be;
$custom-dark: #000000;
JSON
{
  "hex": "#272da1",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 237.049,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.18209,
    "h": 271.7
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#272DA1
secondary
#C0BC63
accent
#DC44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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