#272995#272995

#272995 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.171 H 273.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#272995
RGBrgb(39, 41, 149)
HSLhsl(239, 59%, 37%)
HSVhsv(239, 74%, 58%)
CMYKcmyk(73.8%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.28, 36.49, -59.03)
CIE-LCHlch(24.28, 69.40, 301.72°)
OKLaboklab(36.25% 0.0092 -0.1708)
OKLCHoklch(36.25% 0.171 273.1)
XYZxyz(7.0526, 4.1864, 28.8643)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272995 #959327
analogous
#276095 #272995 #5C2795
triadic
#272995 #952729 #299527
tetradic
#272995 #952760 #959327 #27955C
square
#272995 #952760 #959327 #27955C
split-complementary
#272995 #955C27 #609527
monochromatic
#0E0E34 #1A1C64 #272995 #3436C6 #6163D6

Accessibility & contrast

On white

11.43
#272995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#272995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272995
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272995#FFFFFF#000000##FFFFFF
##2729951.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272995;
/* rgb */ color: rgb(39, 41, 149);
/* oklch */ color: oklch(36.3% 0.171 273.1);
Tailwind
colors: {
  custom: {
    50: '#7364b5',
    500: '#272995',
    950: '#000000',
  },
}
SCSS
$custom: #272995;
$custom-light: #7364b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272995",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 238.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36253,
    "c": 0.17101,
    "h": 273.1
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#272995
secondary
#BBB95D
accent
#DF46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272995

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

Preview Lab → · Contrast checker → · Palette generator →

#272995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva