#272294#272294

#272294 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.177 H 274.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#272294
RGBrgb(39, 34, 148)
HSLhsl(243, 63%, 36%)
HSVhsv(243, 77%, 58%)
CMYKcmyk(73.6%, 77%, 0%, 42%)
CIE-LABlab(22.70, 40.28, -61.02)
CIE-LCHlch(22.70, 73.12, 303.43°)
OKLaboklab(35.1% 0.0131 -0.1765)
OKLCHoklch(35.1% 0.177 274.2)
XYZxyz(6.7522, 3.7128, 28.3720)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272294 #8F9422
analogous
#225694 #272294 #602294
triadic
#272294 #942722 #229427
tetradic
#272294 #942256 #8F9422 #229460
square
#272294 #942256 #8F9422 #229460
split-complementary
#272294 #946022 #569422
monochromatic
#0D0B30 #1A1762 #272294 #342DC6 #5D58D9

Accessibility & contrast

On white

12.05
#272294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272294
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272294#FFFFFF#000000##FFFFFF
##2722941.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272294;
/* rgb */ color: rgb(39, 34, 148);
/* oklch */ color: oklch(35.1% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#735fb5',
    500: '#272294',
    950: '#000000',
  },
}
SCSS
$custom: #272294;
$custom-light: #735fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#272294",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 242.632,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.17699,
    "h": 274.2
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#272294
secondary
#B8BD55
accent
#E642DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272294

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

Preview Lab → · Contrast checker → · Palette generator →

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