#272C97#272C97

#272C97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.170 H 272.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#272C97
RGBrgb(39, 44, 151)
HSLhsl(237, 59%, 37%)
HSVhsv(237, 74%, 59%)
CMYKcmyk(74.2%, 70.9%, 0%, 40.8%)
CIE-LABlab(25.16, 35.34, -58.82)
CIE-LCHlch(25.16, 68.62, 301.00°)
OKLaboklab(36.95% 0.0072 -0.1701)
OKLCHoklch(36.95% 0.17 272.4)
XYZxyz(7.3214, 4.4663, 29.7484)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C97 #979227
analogous
#276497 #272C97 #5A2797
triadic
#272C97 #97272C #2C9727
tetradic
#272C97 #972764 #979227 #27975A
square
#272C97 #972764 #979227 #27975A
split-complementary
#272C97 #975A27 #649727
monochromatic
#0E1036 #1A1E66 #272C97 #343AC8 #6267D6

Accessibility & contrast

On white

11.09
#272C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C97
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C97#FFFFFF#000000##FFFFFF
##272C971.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272c97;
/* rgb */ color: rgb(39, 44, 151);
/* oklch */ color: oklch(36.9% 0.170 272.4);
Tailwind
colors: {
  custom: {
    50: '#7366b7',
    500: '#272c97',
    950: '#000000',
  },
}
SCSS
$custom: #272c97;
$custom-light: #7366b7;
$custom-dark: #000000;
JSON
{
  "hex": "#272c97",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 237.321,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.17028,
    "h": 272.4
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272C97

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

Preview Lab → · Contrast checker → · Palette generator →

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