#272299#272299

#272299 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.183 H 273.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#272299
RGBrgb(39, 34, 153)
HSLhsl(243, 64%, 37%)
HSVhsv(243, 78%, 60%)
CMYKcmyk(74.5%, 77.8%, 0%, 40%)
CIE-LABlab(23.25, 41.94, -63.19)
CIE-LCHlch(23.25, 75.84, 303.58°)
OKLaboklab(35.65% 0.012 -0.1828)
OKLCHoklch(35.65% 0.183 273.8)
XYZxyz(7.1566, 3.8746, 30.5015)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272299 #949922
analogous
#225999 #272299 #632299
triadic
#272299 #992722 #229927
tetradic
#272299 #992259 #949922 #229963
square
#272299 #992259 #949922 #229963
split-complementary
#272299 #996322 #599922
monochromatic
#0D0C35 #1A1767 #272299 #342DCB #605BDB

Accessibility & contrast

On white

11.83
#272299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#272299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272299
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272299#FFFFFF#000000##FFFFFF
##2722991.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272299;
/* rgb */ color: rgb(39, 34, 153);
/* oklch */ color: oklch(35.7% 0.183 273.8);
Tailwind
colors: {
  custom: {
    50: '#755fb8',
    500: '#272299',
    950: '#000000',
  },
}
SCSS
$custom: #272299;
$custom-light: #755fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#272299",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 242.521,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35651,
    "c": 0.18319,
    "h": 273.8
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#272299
secondary
#BBBF58
accent
#E741E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #272299

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

Preview Lab → · Contrast checker → · Palette generator →

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