#272E89#272E89

#272E89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.149 H 272.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#272E89
RGBrgb(39, 46, 137)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 54%)
CMYKcmyk(71.5%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.29, 28.97, -51.57)
CIE-LCHlch(24.29, 59.15, 299.32°)
OKLaboklab(35.91% 0.0073 -0.1489)
OKLCHoklch(35.91% 0.149 272.8)
XYZxyz(6.3275, 4.1909, 24.1375)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E89 #898227
analogous
#275F89 #272E89 #512789
triadic
#272E89 #89272E #2E8927
tetradic
#272E89 #89275F #898227 #278951
square
#272E89 #89275F #898227 #278951
split-complementary
#272E89 #895127 #5F8927
monochromatic
#0C0E2A #191E59 #272E89 #353EB9 #5A63D0

Accessibility & contrast

On white

11.42
#272E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#272E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E89
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E89#FFFFFF#000000##FFFFFF
##272E891.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272e89;
/* rgb */ color: rgb(39, 46, 137);
/* oklch */ color: oklch(35.9% 0.149 272.8);
Tailwind
colors: {
  custom: {
    50: '#7067ac',
    500: '#272e89',
    950: '#000000',
  },
}
SCSS
$custom: #272e89;
$custom-light: #7067ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272e89",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 235.714,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35908,
    "c": 0.14912,
    "h": 272.8
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272E89

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

Preview Lab → · Contrast checker → · Palette generator →

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