#272EA2#272EA2

#272EA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.182 H 271.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#272EA2
RGBrgb(39, 46, 162)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 64%)
CMYKcmyk(75.9%, 71.6%, 0%, 36.5%)
CIE-LABlab(26.72, 38.01, -62.96)
CIE-LCHlch(26.72, 73.55, 301.12°)
OKLaboklab(38.4% 0.0046 -0.1822)
OKLCHoklch(38.4% 0.182 271.5)
XYZxyz(8.3331, 4.9931, 34.7000)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EA2 #A29B27
analogous
#276CA2 #272EA2 #5D27A2
triadic
#272EA2 #A2272E #2EA227
tetradic
#272EA2 #A2276C #A29B27 #27A25D
square
#272EA2 #A2276C #A29B27 #27A25D
split-complementary
#272EA2 #A25D27 #6CA227
monochromatic
#0F123F #1B2071 #272EA2 #3740CF #696FDB

Accessibility & contrast

On white

10.51
#272EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#272EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EA2
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EA2#FFFFFF#000000##FFFFFF
##272EA21.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ea2;
/* rgb */ color: rgb(39, 46, 162);
/* oklch */ color: oklch(38.4% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#272ea2',
    950: '#000000',
  },
}
SCSS
$custom: #272ea2;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272ea2",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 236.585,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.384,
    "c": 0.18229,
    "h": 271.5
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#272EA2
secondary
#C1BC64
accent
#DB43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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