#272295#272295

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

Color values

HEX#272295
RGBrgb(39, 34, 149)
HSLhsl(243, 63%, 36%)
HSVhsv(243, 77%, 58%)
CMYKcmyk(73.8%, 77.2%, 0%, 41.6%)
CIE-LABlab(22.81, 40.61, -61.46)
CIE-LCHlch(22.81, 73.66, 303.46°)
OKLaboklab(35.21% 0.0129 -0.1778)
OKLCHoklch(35.21% 0.178 274.1)
XYZxyz(6.8317, 3.7446, 28.7907)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272295 #909522
analogous
#225695 #272295 #602295
triadic
#272295 #952722 #229527
tetradic
#272295 #952256 #909522 #229560
square
#272295 #952256 #909522 #229560
split-complementary
#272295 #956022 #569522
monochromatic
#0D0B31 #1A1763 #272295 #342DC7 #5E58D9

Accessibility & contrast

On white

12.01
#272295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272295
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272295#FFFFFF#000000##FFFFFF
##2722951.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272295;
/* rgb */ color: rgb(39, 34, 149);
/* oklch */ color: oklch(35.2% 0.178 274.1);
Tailwind
colors: {
  custom: {
    50: '#745fb5',
    500: '#272295',
    950: '#000000',
  },
}
SCSS
$custom: #272295;
$custom-light: #745fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#272295",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 242.609,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35208,
    "c": 0.17824,
    "h": 274.1
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272295

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

Preview Lab → · Contrast checker → · Palette generator →

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