#272EA3#272EA3

#272EA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.184 H 271.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#272EA3
RGBrgb(39, 46, 163)
HSLhsl(237, 61%, 40%)
HSVhsv(237, 76%, 64%)
CMYKcmyk(76.1%, 71.8%, 0%, 36.1%)
CIE-LABlab(26.82, 38.36, -63.40)
CIE-LCHlch(26.82, 74.10, 301.17°)
OKLaboklab(38.5% 0.0045 -0.1835)
OKLCHoklch(38.5% 0.184 271.4)
XYZxyz(8.4223, 5.0288, 35.1700)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EA3 #A39C27
analogous
#276CA3 #272EA3 #5E27A3
triadic
#272EA3 #A3272E #2EA327
tetradic
#272EA3 #A3276C #A39C27 #27A35E
square
#272EA3 #A3276C #A39C27 #27A35E
split-complementary
#272EA3 #A35E27 #6CA327
monochromatic
#0F1240 #1B2072 #272EA3 #3840CF #6970DB

Accessibility & contrast

On white

10.47
#272EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272EA3
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EA3#FFFFFF#000000##FFFFFF
##272EA31.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ea3;
/* rgb */ color: rgb(39, 46, 163);
/* oklch */ color: oklch(38.5% 0.184 271.4);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#272ea3',
    950: '#000000',
  },
}
SCSS
$custom: #272ea3;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272ea3",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 236.613,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38504,
    "c": 0.18356,
    "h": 271.4
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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