#272C90#272C90

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

Color values

HEX#272C90
RGBrgb(39, 44, 144)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(72.9%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.47, 32.83, -55.64)
CIE-LCHlch(24.47, 64.60, 300.55°)
OKLaboklab(36.24% 0.0081 -0.1608)
OKLCHoklch(36.24% 0.161 272.9)
XYZxyz(6.7697, 4.2456, 26.8429)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C90 #908B27
analogous
#276090 #272C90 #562790
triadic
#272C90 #90272C #2C9027
tetradic
#272C90 #902760 #908B27 #279056
square
#272C90 #902760 #908B27 #279056
split-complementary
#272C90 #905627 #609027
monochromatic
#0D0F30 #1A1D60 #272C90 #343BC0 #5E64D3

Accessibility & contrast

On white

11.36
#272C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C90
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C90#FFFFFF#000000##FFFFFF
##272C901.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272c90;
/* rgb */ color: rgb(39, 44, 144);
/* oklch */ color: oklch(36.2% 0.161 272.9);
Tailwind
colors: {
  custom: {
    50: '#7165b1',
    500: '#272c90',
    950: '#000000',
  },
}
SCSS
$custom: #272c90;
$custom-light: #7165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272c90",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 237.143,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.16103,
    "h": 272.9
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#272C90
secondary
#B9B45A
accent
#D947E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C90

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

Preview Lab → · Contrast checker → · Palette generator →

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