#272E87#272E87

#272E87 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.146 H 272.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#272E87
RGBrgb(39, 46, 135)
HSLhsl(236, 55%, 34%)
HSVhsv(236, 71%, 53%)
CMYKcmyk(71.1%, 65.9%, 0%, 47.1%)
CIE-LABlab(24.11, 28.23, -50.62)
CIE-LCHlch(24.11, 57.96, 299.15°)
OKLaboklab(35.72% 0.0075 -0.1462)
OKLCHoklch(35.72% 0.146 272.9)
XYZxyz(6.1854, 4.1340, 23.3889)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E87 #878027
analogous
#275E87 #272E87 #502787
triadic
#272E87 #87272E #2E8727
tetradic
#272E87 #87275E #878027 #278750
square
#272E87 #87275E #878027 #278750
split-complementary
#272E87 #875027 #5E8727
monochromatic
#0C0E28 #191E58 #272E87 #353EB6 #5962CF

Accessibility & contrast

On white

11.49
#272E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E87
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E87#FFFFFF#000000##FFFFFF
##272E871.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272e87;
/* rgb */ color: rgb(39, 46, 135);
/* oklch */ color: oklch(35.7% 0.146 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f67ab',
    500: '#272e87',
    950: '#000000',
  },
}
SCSS
$custom: #272e87;
$custom-light: #6f67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#272e87",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 235.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.14635,
    "h": 272.9
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#272E87
secondary
#B4AD56
accent
#D449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272E87

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

Preview Lab → · Contrast checker → · Palette generator →

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