#272E88#272E88

#272E88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.148 H 272.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#272E88
RGBrgb(39, 46, 136)
HSLhsl(236, 55%, 34%)
HSVhsv(236, 71%, 53%)
CMYKcmyk(71.3%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.20, 28.60, -51.10)
CIE-LCHlch(24.20, 58.56, 299.23°)
OKLaboklab(35.81% 0.0074 -0.1475)
OKLCHoklch(35.81% 0.148 272.9)
XYZxyz(6.2561, 4.1623, 23.7615)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E88 #888127
analogous
#275F88 #272E88 #512788
triadic
#272E88 #88272E #2E8827
tetradic
#272E88 #88275F #888127 #278851
square
#272E88 #88275F #888127 #278851
split-complementary
#272E88 #885127 #5F8827
monochromatic
#0C0E29 #191E58 #272E88 #353EB8 #5A62D0

Accessibility & contrast

On white

11.46
#272E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272E88
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E88#FFFFFF#000000##FFFFFF
##272E881.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272e88;
/* rgb */ color: rgb(39, 46, 136);
/* oklch */ color: oklch(35.8% 0.148 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#272e88',
    950: '#000000',
  },
}
SCSS
$custom: #272e88;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272e88",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 235.67,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.14774,
    "h": 272.9
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272E88

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

Preview Lab → · Contrast checker → · Palette generator →

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