#272AAE#272AAE

#272AAE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.201 H 271.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#272AAE
RGBrgb(39, 42, 174)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 78%, 68%)
CMYKcmyk(77.6%, 75.9%, 0%, 31.8%)
CIE-LABlab(27.14, 44.49, -69.51)
CIE-LCHlch(27.14, 82.52, 302.62°)
OKLaboklab(39.08% 0.0045 -0.2013)
OKLCHoklch(39.08% 0.201 271.3)
XYZxyz(9.3021, 5.1422, 40.5385)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AAE #AEAB27
analogous
#276EAE #272AAE #6827AE
triadic
#272AAE #AE272A #2AAE27
tetradic
#272AAE #AE276E #AEAB27 #27AE68
square
#272AAE #AE276E #AEAB27 #27AE68
split-complementary
#272AAE #AE6827 #6EAE27
monochromatic
#11124A #1C1E7C #272AAE #3E42D4 #7073DF

Accessibility & contrast

On white

10.35
#272AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272AAE
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AAE#FFFFFF#000000##FFFFFF
##272AAE1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272aae;
/* rgb */ color: rgb(39, 42, 174);
/* oklch */ color: oklch(39.1% 0.201 271.3);
Tailwind
colors: {
  custom: {
    50: '#7965c7',
    500: '#272aae',
    950: '#000000',
  },
}
SCSS
$custom: #272aae;
$custom-light: #7965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#272aae",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 238.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39076,
    "c": 0.2013,
    "h": 271.3
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#272AAE
secondary
#C6C46B
accent
#E341E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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