#272EA0#272EA0

#272EA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.180 H 271.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#272EA0
RGBrgb(39, 46, 160)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 63%)
CMYKcmyk(75.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.51, 37.30, -62.08)
CIE-LCHlch(26.51, 72.43, 301.00°)
OKLaboklab(38.19% 0.0049 -0.1797)
OKLCHoklch(38.19% 0.18 271.6)
XYZxyz(8.1567, 4.9225, 33.7712)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EA0 #A09927
analogous
#276BA0 #272EA0 #5D27A0
triadic
#272EA0 #A0272E #2EA027
tetradic
#272EA0 #A0276B #A09927 #27A05D
square
#272EA0 #A0276B #A09927 #27A05D
split-complementary
#272EA0 #A05D27 #6BA027
monochromatic
#0F123E #1B206F #272EA0 #363FCE #676EDA

Accessibility & contrast

On white

10.58
#272EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#272EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EA0
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EA0#FFFFFF#000000##FFFFFF
##272EA01.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ea0;
/* rgb */ color: rgb(39, 46, 160);
/* oklch */ color: oklch(38.2% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#272ea0',
    950: '#000000',
  },
}
SCSS
$custom: #272ea0;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272ea0",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 236.529,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38194,
    "c": 0.17973,
    "h": 271.6
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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