#272EA1#272EA1

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

Color values

HEX#272EA1
RGBrgb(39, 46, 161)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(75.8%, 71.4%, 0%, 36.9%)
CIE-LABlab(26.61, 37.65, -62.52)
CIE-LCHlch(26.61, 72.99, 301.06°)
OKLaboklab(38.3% 0.0048 -0.1809)
OKLCHoklch(38.3% 0.181 271.5)
XYZxyz(8.2445, 4.9577, 34.2337)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EA1 #A19A27
analogous
#276BA1 #272EA1 #5D27A1
triadic
#272EA1 #A1272E #2EA127
tetradic
#272EA1 #A1276B #A19A27 #27A15D
square
#272EA1 #A1276B #A19A27 #27A15D
split-complementary
#272EA1 #A15D27 #6BA127
monochromatic
#0F123E #1B2070 #272EA1 #373FCE #686FDA

Accessibility & contrast

On white

10.54
#272EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#272EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EA1
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EA1#FFFFFF#000000##FFFFFF
##272EA11.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ea1;
/* rgb */ color: rgb(39, 46, 161);
/* oklch */ color: oklch(38.3% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#7567be',
    500: '#272ea1',
    950: '#000000',
  },
}
SCSS
$custom: #272ea1;
$custom-light: #7567be;
$custom-dark: #000000;
JSON
{
  "hex": "#272ea1",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 236.557,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.18101,
    "h": 271.5
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#272EA1
secondary
#C0BB63
accent
#DB44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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