#272BA0#272BA0

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

Color values

HEX#272BA0
RGBrgb(39, 43, 160)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(75.6%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.85, 39.13, -63.17)
CIE-LCHlch(25.85, 74.31, 301.77°)
OKLaboklab(37.72% 0.0064 -0.1828)
OKLCHoklch(37.72% 0.183 272)
XYZxyz(8.0436, 4.6963, 33.7335)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA0 #A09C27
analogous
#2768A0 #272BA0 #6027A0
triadic
#272BA0 #A0272B #2BA027
tetradic
#272BA0 #A02768 #A09C27 #27A060
square
#272BA0 #A02768 #A09C27 #27A060
split-complementary
#272BA0 #A06027 #68A027
monochromatic
#0F113E #1B1E6F #272BA0 #363BCE #676BDA

Accessibility & contrast

On white

10.83
#272BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#272BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA0
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA0#FFFFFF#000000##FFFFFF
##272BA01.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272ba0;
/* rgb */ color: rgb(39, 43, 160);
/* oklch */ color: oklch(37.7% 0.183 272.0);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#272ba0',
    950: '#000000',
  },
}
SCSS
$custom: #272ba0;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba0",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 238.017,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.18294,
    "h": 272
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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