#272DA9#272DA9

#272DA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.192 H 271.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#272DA9
RGBrgb(39, 45, 169)
HSLhsl(237, 63%, 41%)
HSVhsv(237, 77%, 66%)
CMYKcmyk(76.9%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.22, 41.05, -66.37)
CIE-LCHlch(27.22, 78.04, 301.74°)
OKLaboklab(38.98% 0.0041 -0.1921)
OKLCHoklch(38.98% 0.192 271.2)
XYZxyz(8.9341, 5.1717, 38.0558)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA9 #A9A327
analogous
#276EA9 #272DA9 #6227A9
triadic
#272DA9 #A9272D #2DA927
tetradic
#272DA9 #A9276E #A9A327 #27A962
square
#272DA9 #A9276E #A9A327 #27A962
split-complementary
#272DA9 #A96227 #6EA927
monochromatic
#101346 #1C2077 #272DA9 #3B42D2 #6D72DD

Accessibility & contrast

On white

10.32
#272DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#272DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA9
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA9#FFFFFF#000000##FFFFFF
##272DA91.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272da9;
/* rgb */ color: rgb(39, 45, 169);
/* oklch */ color: oklch(39.0% 0.192 271.2);
Tailwind
colors: {
  custom: {
    50: '#7767c4',
    500: '#272da9',
    950: '#000000',
  },
}
SCSS
$custom: #272da9;
$custom-light: #7767c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272da9",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 237.231,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38977,
    "c": 0.19218,
    "h": 271.2
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#272DA9
secondary
#C4C068
accent
#DE42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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