#272B68#272B68

#272B68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.105 H 276.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#272B68
RGBrgb(39, 43, 104)
HSLhsl(236, 45%, 28%)
HSVhsv(236, 63%, 41%)
CMYKcmyk(62.5%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.67, 18.70, -36.47)
CIE-LCHlch(20.67, 40.98, 297.15°)
OKLaboklab(32.35% 0.011 -0.1046)
OKLCHoklch(32.35% 0.105 276)
XYZxyz(4.1985, 3.1583, 13.4824)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B68 #686427
analogous
#274B68 #272B68 #432768
triadic
#272B68 #68272B #2B6827
tetradic
#272B68 #68274B #686427 #276843
square
#272B68 #68274B #686427 #276843
split-complementary
#272B68 #684327 #4B6827
monochromatic
#080916 #16193B #272B68 #383D95 #4D54BC

Accessibility & contrast

On white

12.87
#272B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B68
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B68#FFFFFF#000000##FFFFFF
##272B681.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01356A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272b68;
/* rgb */ color: rgb(39, 43, 104);
/* oklch */ color: oklch(32.3% 0.105 276.0);
Tailwind
colors: {
  custom: {
    50: '#686494',
    500: '#272b68',
    950: '#000000',
  },
}
SCSS
$custom: #272b68;
$custom-light: #686494;
$custom-dark: #000000;
JSON
{
  "hex": "#272b68",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 236.308,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32348,
    "c": 0.10516,
    "h": 276
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#272B68
secondary
#9B9650
accent
#CD53D5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #272B68

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

Preview Lab → · Contrast checker → · Palette generator →

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