#272249#272249

#272249 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.070 H 286.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#272249
RGBrgb(39, 34, 73)
HSLhsl(248, 36%, 21%)
HSVhsv(248, 53%, 29%)
CMYKcmyk(46.6%, 53.4%, 0%, 71.4%)
CIE-LABlab(15.78, 13.88, -23.62)
CIE-LCHlch(15.78, 27.40, 300.45°)
OKLaboklab(27.95% 0.0203 -0.0669)
OKLCHoklch(27.95% 0.07 286.8)
XYZxyz(2.6110, 2.0563, 6.5614)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272249 #444922
analogous
#223049 #272249 #3A2249
triadic
#272249 #492722 #224927
tetradic
#272249 #492230 #444922 #22493A
square
#272249 #492230 #444922 #22493A
split-complementary
#272249 #493A22 #304922
monochromatic
#0B0A15 #110F1F #272249 #3D3573 #54499D

Accessibility & contrast

On white

14.88
#272249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#272249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272249
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272249#FFFFFF#000000##FFFFFF
##2722491.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12284A
Deuteranopia (green-blind)
#122648
Tritanopia (blue-blind)
#1D2A32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #272249;
/* rgb */ color: rgb(39, 34, 73);
/* oklch */ color: oklch(28.0% 0.070 286.8);
Tailwind
colors: {
  custom: {
    50: '#635d7c',
    500: '#272249',
    950: '#000000',
  },
}
SCSS
$custom: #272249;
$custom-light: #635d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#272249",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 247.692,
    "s": 36.449,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27952,
    "c": 0.0699,
    "h": 286.8
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#272249
secondary
#767D4A
accent
#CC5BBE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#050409
muted
#7A797B

Preview Lab

Preview with #272249

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

Preview Lab → · Contrast checker → · Palette generator →

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