#272DA0#272DA0

#272DA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.181 H 271.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#272DA0
RGBrgb(39, 45, 160)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(75.6%, 71.9%, 0%, 37.3%)
CIE-LABlab(26.29, 37.91, -62.45)
CIE-LCHlch(26.29, 73.06, 301.26°)
OKLaboklab(38.03% 0.0054 -0.1807)
OKLCHoklch(38.03% 0.181 271.7)
XYZxyz(8.1181, 4.8453, 33.7583)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA0 #A09A27
analogous
#276AA0 #272DA0 #5E27A0
triadic
#272DA0 #A0272D #2DA027
tetradic
#272DA0 #A0276A #A09A27 #27A05E
square
#272DA0 #A0276A #A09A27 #27A05E
split-complementary
#272DA0 #A05E27 #6AA027
monochromatic
#0F113E #1B1F6F #272DA0 #363ECE #676DDA

Accessibility & contrast

On white

10.66
#272DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#272DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA0#FFFFFF#000000##FFFFFF
##272DA01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272da0;
/* rgb */ color: rgb(39, 45, 160);
/* oklch */ color: oklch(38.0% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#272da0',
    950: '#000000',
  },
}
SCSS
$custom: #272da0;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272da0",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 237.025,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.18081,
    "h": 271.7
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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