#272B88#272B88

#272B88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.151 H 273.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#272B88
RGBrgb(39, 43, 136)
HSLhsl(238, 55%, 34%)
HSVhsv(238, 71%, 53%)
CMYKcmyk(71.3%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.46, 30.57, -52.31)
CIE-LCHlch(23.46, 60.59, 300.30°)
OKLaboklab(35.27% 0.0096 -0.1511)
OKLCHoklch(35.27% 0.151 273.6)
XYZxyz(6.1430, 3.9361, 23.7238)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B88 #888427
analogous
#275C88 #272B88 #542788
triadic
#272B88 #88272B #2B8827
tetradic
#272B88 #88275C #888427 #278854
square
#272B88 #88275C #888427 #278854
split-complementary
#272B88 #885427 #5C8827
monochromatic
#0C0D29 #191C58 #272B88 #353AB8 #5A5FD0

Accessibility & contrast

On white

11.75
#272B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B88
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B88#FFFFFF#000000##FFFFFF
##272B881.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272b88;
/* rgb */ color: rgb(39, 43, 136);
/* oklch */ color: oklch(35.3% 0.151 273.6);
Tailwind
colors: {
  custom: {
    50: '#7064ac',
    500: '#272b88',
    950: '#000000',
  },
}
SCSS
$custom: #272b88;
$custom-light: #7064ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272b88",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 237.526,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.15144,
    "h": 273.6
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#272B88
secondary
#B5B156
accent
#D949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272B88

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

Preview Lab → · Contrast checker → · Palette generator →

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