#272C95#272C95

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

Color values

HEX#272C95
RGBrgb(39, 44, 149)
HSLhsl(237, 59%, 37%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(73.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(24.96, 34.63, -57.91)
CIE-LCHlch(24.96, 67.48, 300.88°)
OKLaboklab(36.74% 0.0075 -0.1675)
OKLCHoklch(36.74% 0.168 272.5)
XYZxyz(7.1604, 4.4019, 28.9002)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C95 #959027
analogous
#276395 #272C95 #592795
triadic
#272C95 #95272C #2C9527
tetradic
#272C95 #952763 #959027 #279559
square
#272C95 #952763 #959027 #279559
split-complementary
#272C95 #955927 #639527
monochromatic
#0E0F34 #1A1E64 #272C95 #343AC6 #6166D6

Accessibility & contrast

On white

11.17
#272C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C95
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C95#FFFFFF#000000##FFFFFF
##272C951.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272c95;
/* rgb */ color: rgb(39, 44, 149);
/* oklch */ color: oklch(36.7% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#7366b5',
    500: '#272c95',
    950: '#000000',
  },
}
SCSS
$custom: #272c95;
$custom-light: #7366b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272c95",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 237.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.16766,
    "h": 272.5
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#272C95
secondary
#BBB75D
accent
#DB46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C95

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

Preview Lab → · Contrast checker → · Palette generator →

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