#272BA1#272BA1

#272BA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.184 H 272.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#272BA1
RGBrgb(39, 43, 161)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(75.8%, 73.3%, 0%, 36.9%)
CIE-LABlab(25.96, 39.47, -63.61)
CIE-LCHlch(25.96, 74.86, 301.82°)
OKLaboklab(37.82% 0.0063 -0.1841)
OKLCHoklch(37.82% 0.184 272)
XYZxyz(8.1314, 4.7314, 34.1960)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA1 #A19D27
analogous
#2768A1 #272BA1 #6027A1
triadic
#272BA1 #A1272B #2BA127
tetradic
#272BA1 #A12768 #A19D27 #27A160
square
#272BA1 #A12768 #A19D27 #27A160
split-complementary
#272BA1 #A16027 #68A127
monochromatic
#0F113E #1B1E70 #272BA1 #373CCE #686CDA

Accessibility & contrast

On white

10.79
#272BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#272BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA1
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA1#FFFFFF#000000##FFFFFF
##272BA11.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272ba1;
/* rgb */ color: rgb(39, 43, 161);
/* oklch */ color: oklch(37.8% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#7665be',
    500: '#272ba1',
    950: '#000000',
  },
}
SCSS
$custom: #272ba1;
$custom-light: #7665be;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba1",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 238.033,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.18421,
    "h": 272
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#272BA1
secondary
#C0BD63
accent
#DF44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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