#272C96#272C96

#272C96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.169 H 272.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#272C96
RGBrgb(39, 44, 150)
HSLhsl(237, 59%, 37%)
HSVhsv(237, 74%, 59%)
CMYKcmyk(74%, 70.7%, 0%, 41.2%)
CIE-LABlab(25.06, 34.99, -58.37)
CIE-LCHlch(25.06, 68.05, 300.94°)
OKLaboklab(36.84% 0.0073 -0.1688)
OKLCHoklch(36.84% 0.169 272.5)
XYZxyz(7.2406, 4.4340, 29.3225)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C96 #969127
analogous
#276496 #272C96 #592796
triadic
#272C96 #96272C #2C9627
tetradic
#272C96 #962764 #969127 #279659
square
#272C96 #962764 #969127 #279659
split-complementary
#272C96 #965927 #649627
monochromatic
#0E1035 #1A1E65 #272C96 #343AC7 #6167D6

Accessibility & contrast

On white

11.13
#272C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#272C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C96
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C96#FFFFFF#000000##FFFFFF
##272C961.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272c96;
/* rgb */ color: rgb(39, 44, 150);
/* oklch */ color: oklch(36.8% 0.169 272.5);
Tailwind
colors: {
  custom: {
    50: '#7366b6',
    500: '#272c96',
    950: '#000000',
  },
}
SCSS
$custom: #272c96;
$custom-light: #7366b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272c96",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 237.297,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.16897,
    "h": 272.5
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#272C96
secondary
#BCB75D
accent
#DB46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C96

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

Preview Lab → · Contrast checker → · Palette generator →

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