#272194#272194

#272194 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.178 H 274.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#272194
RGBrgb(39, 33, 148)
HSLhsl(243, 64%, 35%)
HSVhsv(243, 78%, 58%)
CMYKcmyk(73.6%, 77.7%, 0%, 42%)
CIE-LABlab(22.50, 40.84, -61.35)
CIE-LCHlch(22.50, 73.70, 303.65°)
OKLaboklab(34.96% 0.0136 -0.1774)
OKLCHoklch(34.96% 0.178 274.4)
XYZxyz(6.7241, 3.6565, 28.3626)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272194 #8E9421
analogous
#215594 #272194 #602194
triadic
#272194 #942721 #219427
tetradic
#272194 #942155 #8E9421 #219460
square
#272194 #942155 #8E9421 #219460
split-complementary
#272194 #946021 #559421
monochromatic
#0D0B30 #1A1662 #272194 #342CC6 #5D56D9

Accessibility & contrast

On white

12.13
#272194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272194
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272194#FFFFFF#000000##FFFFFF
##2721941.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272194;
/* rgb */ color: rgb(39, 33, 148);
/* oklch */ color: oklch(35.0% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#735eb5',
    500: '#272194',
    950: '#000000',
  },
}
SCSS
$custom: #272194;
$custom-light: #735eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#272194",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 243.13,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34959,
    "c": 0.17796,
    "h": 274.4
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#272194
secondary
#B8BD54
accent
#E741DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #272194

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

Preview Lab → · Contrast checker → · Palette generator →

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