#272394#272394

#272394 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.176 H 274.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#272394
RGBrgb(39, 35, 148)
HSLhsl(242, 62%, 36%)
HSVhsv(242, 76%, 58%)
CMYKcmyk(73.6%, 76.4%, 0%, 42%)
CIE-LABlab(22.90, 39.71, -60.69)
CIE-LCHlch(22.90, 72.53, 303.20°)
OKLaboklab(35.24% 0.0126 -0.1756)
OKLCHoklch(35.24% 0.176 274.1)
XYZxyz(6.7813, 3.7708, 28.3817)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272394 #909423
analogous
#235794 #272394 #5F2394
triadic
#272394 #942723 #239427
tetradic
#272394 #942357 #909423 #23945F
square
#272394 #942357 #909423 #23945F
split-complementary
#272394 #945F23 #579423
monochromatic
#0D0C31 #1A1763 #272394 #342FC5 #5E5AD8

Accessibility & contrast

On white

11.97
#272394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272394
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272394#FFFFFF#000000##FFFFFF
##2723941.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272394;
/* rgb */ color: rgb(39, 35, 148);
/* oklch */ color: oklch(35.2% 0.176 274.1);
Tailwind
colors: {
  custom: {
    50: '#7360b5',
    500: '#272394',
    950: '#000000',
  },
}
SCSS
$custom: #272394;
$custom-light: #7360b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272394",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 242.124,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35239,
    "c": 0.176,
    "h": 274.1
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#272394
secondary
#B9BC57
accent
#E543DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272394

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

Preview Lab → · Contrast checker → · Palette generator →

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