#272FA2#272FA2

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

Color values

HEX#272FA2
RGBrgb(39, 47, 162)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 64%)
CMYKcmyk(75.9%, 71%, 0%, 36.5%)
CIE-LABlab(26.94, 37.39, -62.60)
CIE-LCHlch(26.94, 72.91, 300.85°)
OKLaboklab(38.56% 0.0041 -0.1812)
OKLCHoklch(38.56% 0.181 271.3)
XYZxyz(8.3726, 5.0721, 34.7132)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FA2 #A29A27
analogous
#276CA2 #272FA2 #5D27A2
triadic
#272FA2 #A2272F #2FA227
tetradic
#272FA2 #A2276C #A29A27 #27A25D
square
#272FA2 #A2276C #A29A27 #27A25D
split-complementary
#272FA2 #A25D27 #6CA227
monochromatic
#0F123F #1B2171 #272FA2 #3741CF #6970DB

Accessibility & contrast

On white

10.42
#272FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#272FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FA2
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FA2#FFFFFF#000000##FFFFFF
##272FA21.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272fa2;
/* rgb */ color: rgb(39, 47, 162);
/* oklch */ color: oklch(38.6% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#7668bf',
    500: '#272fa2',
    950: '#000000',
  },
}
SCSS
$custom: #272fa2;
$custom-light: #7668bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272fa2",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 236.098,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.18121,
    "h": 271.3
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#272FA2
secondary
#C1BB64
accent
#DA43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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