#272C88#272C88

#272C88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.150 H 273.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#272C88
RGBrgb(39, 44, 136)
HSLhsl(237, 55%, 34%)
HSVhsv(237, 71%, 53%)
CMYKcmyk(71.3%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.70, 29.92, -51.91)
CIE-LCHlch(23.70, 59.92, 299.96°)
OKLaboklab(35.45% 0.0089 -0.1499)
OKLCHoklch(35.45% 0.15 273.4)
XYZxyz(6.1798, 4.0097, 23.7360)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C88 #888327
analogous
#275D88 #272C88 #532788
triadic
#272C88 #88272C #2C8827
tetradic
#272C88 #88275D #888327 #278853
square
#272C88 #88275D #888327 #278853
split-complementary
#272C88 #885327 #5D8827
monochromatic
#0C0D29 #191D58 #272C88 #353BB8 #5A60D0

Accessibility & contrast

On white

11.65
#272C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C88
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C88#FFFFFF#000000##FFFFFF
##272C881.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272c88;
/* rgb */ color: rgb(39, 44, 136);
/* oklch */ color: oklch(35.4% 0.150 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f65ac',
    500: '#272c88',
    950: '#000000',
  },
}
SCSS
$custom: #272c88;
$custom-light: #6f65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272c88",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 236.907,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3545,
    "c": 0.15021,
    "h": 273.4
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#272C88
secondary
#B5B056
accent
#D749DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272C88

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

Preview Lab → · Contrast checker → · Palette generator →

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