#272DA6#272DA6

#272DA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.188 H 271.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#272DA6
RGBrgb(39, 45, 166)
HSLhsl(237, 62%, 40%)
HSVhsv(237, 77%, 65%)
CMYKcmyk(76.5%, 72.9%, 0%, 34.9%)
CIE-LABlab(26.91, 40.01, -65.07)
CIE-LCHlch(26.91, 76.39, 301.59°)
OKLaboklab(38.66% 0.0046 -0.1884)
OKLCHoklch(38.66% 0.188 271.4)
XYZxyz(8.6557, 5.0603, 36.5896)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA6 #A6A027
analogous
#276DA6 #272DA6 #6027A6
triadic
#272DA6 #A6272D #2DA627
tetradic
#272DA6 #A6276D #A6A027 #27A660
square
#272DA6 #A6276D #A6A027 #27A660
split-complementary
#272DA6 #A66027 #6DA627
monochromatic
#101243 #1B2074 #272DA6 #3A41D1 #6B70DC

Accessibility & contrast

On white

10.44
#272DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#272DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA6
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA6#FFFFFF#000000##FFFFFF
##272DA61.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272da6;
/* rgb */ color: rgb(39, 45, 166);
/* oklch */ color: oklch(38.7% 0.188 271.4);
Tailwind
colors: {
  custom: {
    50: '#7767c2',
    500: '#272da6',
    950: '#000000',
  },
}
SCSS
$custom: #272da6;
$custom-light: #7767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#272da6",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 237.165,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.18842,
    "h": 271.4
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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