#272993#272993

#272993 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.168 H 273.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#272993
RGBrgb(39, 41, 147)
HSLhsl(239, 58%, 36%)
HSVhsv(239, 73%, 58%)
CMYKcmyk(73.5%, 72.1%, 0%, 42.4%)
CIE-LABlab(24.07, 35.79, -58.14)
CIE-LCHlch(24.07, 68.27, 301.62°)
OKLaboklab(36.05% 0.0095 -0.1681)
OKLCHoklch(36.05% 0.168 273.2)
XYZxyz(6.8943, 4.1231, 28.0306)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272993 #939127
analogous
#275F93 #272993 #5B2793
triadic
#272993 #932729 #299327
tetradic
#272993 #93275F #939127 #27935B
square
#272993 #93275F #939127 #27935B
split-complementary
#272993 #935B27 #5F9327
monochromatic
#0D0E32 #1A1C63 #272993 #3436C3 #6062D5

Accessibility & contrast

On white

11.51
#272993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272993
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272993#FFFFFF#000000##FFFFFF
##2729931.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272993;
/* rgb */ color: rgb(39, 41, 147);
/* oklch */ color: oklch(36.0% 0.168 273.2);
Tailwind
colors: {
  custom: {
    50: '#7263b4',
    500: '#272993',
    950: '#000000',
  },
}
SCSS
$custom: #272993;
$custom-light: #7263b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272993",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 238.889,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36045,
    "c": 0.16841,
    "h": 273.2
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#272993
secondary
#BAB85C
accent
#DE47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272993

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

Preview Lab → · Contrast checker → · Palette generator →

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