#272ABD#272ABD

#272ABD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.219 H 270.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#272ABD
RGBrgb(39, 42, 189)
HSLhsl(239, 66%, 45%)
HSVhsv(239, 79%, 74%)
CMYKcmyk(79.4%, 77.8%, 0%, 25.9%)
CIE-LABlab(28.80, 49.43, -75.68)
CIE-LCHlch(28.80, 90.39, 303.15°)
OKLaboklab(40.74% 0.0018 -0.2192)
OKLCHoklch(40.74% 0.219 270.5)
XYZxyz(10.8469, 5.7602, 48.6744)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272ABD #BDBA27
analogous
#2775BD #272ABD #6F27BD
triadic
#272ABD #BD272A #2ABD27
tetradic
#272ABD #BD2775 #BDBA27 #27BD6F
square
#272ABD #BD2775 #BDBA27 #27BD6F
split-complementary
#272ABD #BD6F27 #75BD27
monochromatic
#121358 #1D1F8A #272ABD #484BD9 #7B7DE4

Accessibility & contrast

On white

9.76
#272ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#272ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272ABD
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272ABD#FFFFFF#000000##FFFFFF
##272ABD1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #272abd;
/* rgb */ color: rgb(39, 42, 189);
/* oklch */ color: oklch(40.7% 0.219 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d66d2',
    500: '#272abd',
    950: '#000000',
  },
}
SCSS
$custom: #272abd;
$custom-light: #7d66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#272abd",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 238.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40737,
    "c": 0.21919,
    "h": 270.5
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#272ABD
secondary
#CCCA74
accent
#E53FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #272ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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