#272FA3#272FA3

#272FA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.182 H 271.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#272FA3
RGBrgb(39, 47, 163)
HSLhsl(236, 61%, 40%)
HSVhsv(236, 76%, 64%)
CMYKcmyk(76.1%, 71.2%, 0%, 36.1%)
CIE-LABlab(27.04, 37.74, -63.04)
CIE-LCHlch(27.04, 73.47, 300.91°)
OKLaboklab(38.66% 0.004 -0.1824)
OKLCHoklch(38.66% 0.182 271.2)
XYZxyz(8.4618, 5.1078, 35.1832)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FA3 #A39B27
analogous
#276DA3 #272FA3 #5D27A3
triadic
#272FA3 #A3272F #2FA327
tetradic
#272FA3 #A3276D #A39B27 #27A35D
square
#272FA3 #A3276D #A39B27 #27A35D
split-complementary
#272FA3 #A35D27 #6DA327
monochromatic
#0F1340 #1B2172 #272FA3 #3842CF #6971DB

Accessibility & contrast

On white

10.39
#272FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#272FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FA3
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FA3#FFFFFF#000000##FFFFFF
##272FA31.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272fa3;
/* rgb */ color: rgb(39, 47, 163);
/* oklch */ color: oklch(38.7% 0.182 271.2);
Tailwind
colors: {
  custom: {
    50: '#7668bf',
    500: '#272fa3',
    950: '#000000',
  },
}
SCSS
$custom: #272fa3;
$custom-light: #7668bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272fa3",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 236.129,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.18248,
    "h": 271.2
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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