#272FAA#272FAA

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

Color values

HEX#272FAA
RGBrgb(39, 47, 170)
HSLhsl(236, 63%, 41%)
HSVhsv(236, 77%, 67%)
CMYKcmyk(77.1%, 72.4%, 0%, 33.3%)
CIE-LABlab(27.75, 40.20, -66.09)
CIE-LCHlch(27.75, 77.36, 301.31°)
OKLaboklab(39.39% 0.003 -0.1913)
OKLCHoklch(39.39% 0.191 270.9)
XYZxyz(9.1064, 5.3657, 38.5782)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FAA #AAA227
analogous
#2770AA #272FAA #6027AA
triadic
#272FAA #AA272F #2FAA27
tetradic
#272FAA #AA2770 #AAA227 #27AA60
square
#272FAA #AA2770 #AAA227 #27AA60
split-complementary
#272FAA #AA6027 #70AA27
monochromatic
#101346 #1C2178 #272FAA #3C45D2 #6E75DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272FAA#FFFFFF#000000##FFFFFF
##272FAA1.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)
#0048AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272faa;
/* rgb */ color: rgb(39, 47, 170);
/* oklch */ color: oklch(39.4% 0.191 270.9);
Tailwind
colors: {
  custom: {
    50: '#7868c4',
    500: '#272faa',
    950: '#000000',
  },
}
SCSS
$custom: #272faa;
$custom-light: #7868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272faa",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 236.336,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.19135,
    "h": 270.9
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#272FAA
secondary
#C4BF69
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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