#272DAE#272DAE

#272DAE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.198 H 271.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#272DAE
RGBrgb(39, 45, 174)
HSLhsl(237, 63%, 42%)
HSVhsv(237, 78%, 68%)
CMYKcmyk(77.6%, 74.1%, 0%, 31.8%)
CIE-LABlab(27.75, 42.77, -68.50)
CIE-LCHlch(27.75, 80.76, 301.98°)
OKLaboklab(39.51% 0.0033 -0.1983)
OKLCHoklch(39.51% 0.198 271)
XYZxyz(9.4125, 5.3631, 40.5753)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DAE #AEA827
analogous
#2771AE #272DAE #6427AE
triadic
#272DAE #AE272D #2DAE27
tetradic
#272DAE #AE2771 #AEA827 #27AE64
square
#272DAE #AE2771 #AEA827 #27AE64
split-complementary
#272DAE #AE6427 #71AE27
monochromatic
#11134A #1C207C #272DAE #3E45D4 #7075DF

Accessibility & contrast

On white

10.13
#272DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#272DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DAE
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DAE#FFFFFF#000000##FFFFFF
##272DAE1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272dae;
/* rgb */ color: rgb(39, 45, 174);
/* oklch */ color: oklch(39.5% 0.198 271.0);
Tailwind
colors: {
  custom: {
    50: '#7967c7',
    500: '#272dae',
    950: '#000000',
  },
}
SCSS
$custom: #272dae;
$custom-light: #7967c7;
$custom-dark: #000000;
JSON
{
  "hex": "#272dae",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 237.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.19838,
    "h": 271
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#272DAE
secondary
#C6C26B
accent
#DF41E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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