#272DAC#272DAC

#272DAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.196 H 271.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#272DAC
RGBrgb(39, 45, 172)
HSLhsl(237, 63%, 41%)
HSVhsv(237, 77%, 67%)
CMYKcmyk(77.3%, 73.8%, 0%, 32.5%)
CIE-LABlab(27.53, 42.09, -67.65)
CIE-LCHlch(27.53, 79.67, 301.89°)
OKLaboklab(39.3% 0.0036 -0.1959)
OKLCHoklch(39.3% 0.196 271.1)
XYZxyz(9.2190, 5.2857, 39.5561)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DAC #ACA627
analogous
#2770AC #272DAC #6427AC
triadic
#272DAC #AC272D #2DAC27
tetradic
#272DAC #AC2770 #ACA627 #27AC64
square
#272DAC #AC2770 #ACA627 #27AC64
split-complementary
#272DAC #AC6427 #70AC27
monochromatic
#101348 #1C207A #272DAC #3D44D3 #6F74DE

Accessibility & contrast

On white

10.21
#272DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#272DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DAC
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DAC#FFFFFF#000000##FFFFFF
##272DAC1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272dac;
/* rgb */ color: rgb(39, 45, 172);
/* oklch */ color: oklch(39.3% 0.196 271.1);
Tailwind
colors: {
  custom: {
    50: '#7867c6',
    500: '#272dac',
    950: '#000000',
  },
}
SCSS
$custom: #272dac;
$custom-light: #7867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#272dac",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 237.293,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.1959,
    "h": 271.1
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#272DAC
secondary
#C5C16A
accent
#DF42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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