#272B59#272B59

#272B59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.081 H 276.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#272B59
RGBrgb(39, 43, 89)
HSLhsl(235, 39%, 25%)
HSVhsv(235, 56%, 35%)
CMYKcmyk(56.2%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.56, 13.13, -28.39)
CIE-LCHlch(19.56, 31.28, 294.83°)
OKLaboklab(31.16% 0.0097 -0.0808)
OKLCHoklch(31.16% 0.081 276.8)
XYZxyz(3.5032, 2.8801, 9.8206)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B59 #595527
analogous
#274459 #272B59 #3C2759
triadic
#272B59 #59272B #2B5927
tetradic
#272B59 #592744 #595527 #27593C
square
#272B59 #592744 #595527 #27593C
split-complementary
#272B59 #593C27 #445927
monochromatic
#090A15 #14162E #272B59 #3A4084 #4C54AE

Accessibility & contrast

On white

13.32
#272B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#272B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B59
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B59#FFFFFF#000000##FFFFFF
##272B591.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315B
Deuteranopia (green-blind)
#112D58
Tritanopia (blue-blind)
#11353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #272b59;
/* rgb */ color: rgb(39, 43, 89);
/* oklch */ color: oklch(31.2% 0.081 276.8);
Tailwind
colors: {
  custom: {
    50: '#656488',
    500: '#272b59',
    950: '#000000',
  },
}
SCSS
$custom: #272b59;
$custom-light: #656488;
$custom-dark: #000000;
JSON
{
  "hex": "#272b59",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 235.2,
    "s": 39.062,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31159,
    "c": 0.08141,
    "h": 276.8
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#272B59
secondary
#8C8750
accent
#C659CF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #272B59

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

Preview Lab → · Contrast checker → · Palette generator →

#272B59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva