#272BBA#272BBA

#272BBA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.215 H 270.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#272BBA
RGBrgb(39, 43, 186)
HSLhsl(238, 65%, 44%)
HSVhsv(238, 79%, 73%)
CMYKcmyk(79%, 76.9%, 0%, 27.1%)
CIE-LABlab(28.65, 47.91, -74.15)
CIE-LCHlch(28.65, 88.29, 302.87°)
OKLaboklab(40.53% 0.002 -0.2147)
OKLCHoklch(40.53% 0.215 270.5)
XYZxyz(10.5605, 5.7031, 46.9891)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BBA #BAB627
analogous
#2775BA #272BBA #6D27BA
triadic
#272BBA #BA272B #2BBA27
tetradic
#272BBA #BA2775 #BAB627 #27BA6D
square
#272BBA #BA2775 #BAB627 #27BA6D
split-complementary
#272BBA #BA6D27 #75BA27
monochromatic
#121455 #1C1F87 #272BBA #464AD8 #797BE3

Accessibility & contrast

On white

9.81
#272BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#272BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BBA
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BBA#FFFFFF#000000##FFFFFF
##272BBA1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #272bba;
/* rgb */ color: rgb(39, 43, 186);
/* oklch */ color: oklch(40.5% 0.215 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c67d0',
    500: '#272bba',
    950: '#000000',
  },
}
SCSS
$custom: #272bba;
$custom-light: #7c67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#272bba",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 238.367,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.21476,
    "h": 270.5
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#272BBA
secondary
#CBC872
accent
#E440E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #272BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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