#272FA0#272FA0

#272FA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.179 H 271.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#272FA0
RGBrgb(39, 47, 160)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(75.6%, 70.6%, 0%, 37.3%)
CIE-LABlab(26.74, 36.68, -61.71)
CIE-LCHlch(26.74, 71.79, 300.73°)
OKLaboklab(38.36% 0.0044 -0.1786)
OKLCHoklch(38.36% 0.179 271.4)
XYZxyz(8.1962, 5.0016, 33.7843)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FA0 #A09827
analogous
#276CA0 #272FA0 #5C27A0
triadic
#272FA0 #A0272F #2FA027
tetradic
#272FA0 #A0276C #A09827 #27A05C
square
#272FA0 #A0276C #A09827 #27A05C
split-complementary
#272FA0 #A05C27 #6CA027
monochromatic
#0F123E #1B216F #272FA0 #3640CE #676FDA

Accessibility & contrast

On white

10.50
#272FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272FA0
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FA0#FFFFFF#000000##FFFFFF
##272FA01.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272fa0;
/* rgb */ color: rgb(39, 47, 160);
/* oklch */ color: oklch(38.4% 0.179 271.4);
Tailwind
colors: {
  custom: {
    50: '#7568bd',
    500: '#272fa0',
    950: '#000000',
  },
}
SCSS
$custom: #272fa0;
$custom-light: #7568bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272fa0",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 236.033,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.17862,
    "h": 271.4
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#272FA0
secondary
#C0BA63
accent
#D944E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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