#272EA9#272EA9

#272EA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.191 H 271.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#272EA9
RGBrgb(39, 46, 169)
HSLhsl(237, 63%, 41%)
HSVhsv(237, 77%, 66%)
CMYKcmyk(76.9%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.43, 40.46, -66.01)
CIE-LCHlch(27.43, 77.42, 301.50°)
OKLaboklab(39.13% 0.0036 -0.1911)
OKLCHoklch(39.13% 0.191 271.1)
XYZxyz(8.9727, 5.2489, 38.0687)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EA9 #A9A227
analogous
#276FA9 #272EA9 #6127A9
triadic
#272EA9 #A9272E #2EA927
tetradic
#272EA9 #A9276F #A9A227 #27A961
square
#272EA9 #A9276F #A9A227 #27A961
split-complementary
#272EA9 #A96127 #6FA927
monochromatic
#101346 #1C2077 #272EA9 #3B43D2 #6D73DD

Accessibility & contrast

On white

10.24
#272EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#272EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EA9
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EA9#FFFFFF#000000##FFFFFF
##272EA91.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272ea9;
/* rgb */ color: rgb(39, 46, 169);
/* oklch */ color: oklch(39.1% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#7768c4',
    500: '#272ea9',
    950: '#000000',
  },
}
SCSS
$custom: #272ea9;
$custom-light: #7768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272ea9",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 236.769,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.19114,
    "h": 271.1
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#272EA9
secondary
#C4BF68
accent
#DD42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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