#272994#272994

#272994 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.170 H 273.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#272994
RGBrgb(39, 41, 148)
HSLhsl(239, 58%, 37%)
HSVhsv(239, 74%, 58%)
CMYKcmyk(73.6%, 72.3%, 0%, 42%)
CIE-LABlab(24.18, 36.14, -58.59)
CIE-LCHlch(24.18, 68.84, 301.67°)
OKLaboklab(36.15% 0.0094 -0.1694)
OKLCHoklch(36.15% 0.17 273.2)
XYZxyz(6.9731, 4.1546, 28.4457)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272994 #949227
analogous
#276094 #272994 #5C2794
triadic
#272994 #942729 #299427
tetradic
#272994 #942760 #949227 #27945C
square
#272994 #942760 #949227 #27945C
split-complementary
#272994 #945C27 #609427
monochromatic
#0D0E33 #1A1C64 #272994 #3436C4 #6062D5

Accessibility & contrast

On white

11.47
#272994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272994
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272994#FFFFFF#000000##FFFFFF
##2729941.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272994;
/* rgb */ color: rgb(39, 41, 148);
/* oklch */ color: oklch(36.1% 0.170 273.2);
Tailwind
colors: {
  custom: {
    50: '#7364b5',
    500: '#272994',
    950: '#000000',
  },
}
SCSS
$custom: #272994;
$custom-light: #7364b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272994",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 238.899,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.16971,
    "h": 273.2
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#272994
secondary
#BBB95C
accent
#DF46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272994

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

Preview Lab → · Contrast checker → · Palette generator →

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