#272CAA#272CAA

#272CAA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.194 H 271.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#272CAA
RGBrgb(39, 44, 170)
HSLhsl(238, 63%, 41%)
HSVhsv(238, 77%, 67%)
CMYKcmyk(77.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.11, 41.98, -67.14)
CIE-LCHlch(27.11, 79.19, 302.02°)
OKLaboklab(38.93% 0.0044 -0.1944)
OKLCHoklch(38.93% 0.194 271.3)
XYZxyz(8.9906, 5.1340, 38.5395)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CAA #AAA527
analogous
#276DAA #272CAA #6327AA
triadic
#272CAA #AA272C #2CAA27
tetradic
#272CAA #AA276D #AAA527 #27AA63
square
#272CAA #AA276D #AAA527 #27AA63
split-complementary
#272CAA #AA6327 #6DAA27
monochromatic
#101246 #1C1F78 #272CAA #3C42D2 #6E72DE

Accessibility & contrast

On white

10.36
#272CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272CAA
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CAA#FFFFFF#000000##FFFFFF
##272CAA1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272caa;
/* rgb */ color: rgb(39, 44, 170);
/* oklch */ color: oklch(38.9% 0.194 271.3);
Tailwind
colors: {
  custom: {
    50: '#7866c5',
    500: '#272caa',
    950: '#000000',
  },
}
SCSS
$custom: #272caa;
$custom-light: #7866c5;
$custom-dark: #000000;
JSON
{
  "hex": "#272caa",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 237.71,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38933,
    "c": 0.19444,
    "h": 271.3
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#272CAA
secondary
#C4C169
accent
#DF42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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