#272CBD#272CBD

#272CBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.217 H 270.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#272CBD
RGBrgb(39, 44, 189)
HSLhsl(238, 66%, 45%)
HSVhsv(238, 79%, 74%)
CMYKcmyk(79.4%, 76.7%, 0%, 25.9%)
CIE-LABlab(29.17, 48.36, -75.07)
CIE-LCHlch(29.17, 89.29, 302.79°)
OKLaboklab(41% 0.0012 -0.2174)
OKLCHoklch(41% 0.217 270.3)
XYZxyz(10.9196, 5.9056, 48.6986)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CBD #BDB827
analogous
#2777BD #272CBD #6D27BD
triadic
#272CBD #BD272C #2CBD27
tetradic
#272CBD #BD2777 #BDB827 #27BD6D
square
#272CBD #BD2777 #BDB827 #27BD6D
split-complementary
#272CBD #BD6D27 #77BD27
monochromatic
#121458 #1D208A #272CBD #484DD9 #7B7EE4

Accessibility & contrast

On white

9.63
#272CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#272CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CBD
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CBD#FFFFFF#000000##FFFFFF
##272CBD1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #272cbd;
/* rgb */ color: rgb(39, 44, 189);
/* oklch */ color: oklch(41.0% 0.217 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d67d2',
    500: '#272cbd',
    950: '#000000',
  },
}
SCSS
$custom: #272cbd;
$custom-light: #7d67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#272cbd",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 238,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41,
    "c": 0.21741,
    "h": 270.3
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#272CBD
secondary
#CCC974
accent
#E33FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #272CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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