#272CAE#272CAE

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

Color values

HEX#272CAE
RGBrgb(39, 44, 174)
HSLhsl(238, 63%, 42%)
HSVhsv(238, 78%, 68%)
CMYKcmyk(77.6%, 74.7%, 0%, 31.8%)
CIE-LABlab(27.54, 43.35, -68.84)
CIE-LCHlch(27.54, 81.35, 302.20°)
OKLaboklab(39.36% 0.0037 -0.1993)
OKLCHoklch(39.36% 0.199 271.1)
XYZxyz(9.3748, 5.2877, 40.5627)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CAE #AEA927
analogous
#2770AE #272CAE #6627AE
triadic
#272CAE #AE272C #2CAE27
tetradic
#272CAE #AE2770 #AEA927 #27AE66
square
#272CAE #AE2770 #AEA927 #27AE66
split-complementary
#272CAE #AE6627 #70AE27
monochromatic
#11134A #1C1F7C #272CAE #3E44D4 #7074DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272CAE#FFFFFF#000000##FFFFFF
##272CAE1.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)
#0048B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272cae;
/* rgb */ color: rgb(39, 44, 174);
/* oklch */ color: oklch(39.4% 0.199 271.1);
Tailwind
colors: {
  custom: {
    50: '#7967c7',
    500: '#272cae',
    950: '#000000',
  },
}
SCSS
$custom: #272cae;
$custom-light: #7967c7;
$custom-dark: #000000;
JSON
{
  "hex": "#272cae",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 237.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.19937,
    "h": 271.1
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#272CAE
secondary
#C6C36B
accent
#E041E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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