#272D68#272D68

#272D68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.102 H 274.9°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#272D68
RGBrgb(39, 45, 104)
HSLhsl(234, 45%, 28%)
HSVhsv(234, 63%, 41%)
CMYKcmyk(62.5%, 56.7%, 0%, 59.2%)
CIE-LABlab(21.23, 17.29, -35.55)
CIE-LCHlch(21.23, 39.53, 295.94°)
OKLaboklab(32.77% 0.0087 -0.1019)
OKLCHoklch(32.77% 0.102 274.9)
XYZxyz(4.2730, 3.3073, 13.5072)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D68 #686227
analogous
#274D68 #272D68 #412768
triadic
#272D68 #68272D #2D6827
tetradic
#272D68 #68274D #686227 #276841
square
#272D68 #68274D #686227 #276841
split-complementary
#272D68 #684127 #4D6827
monochromatic
#080A16 #161A3B #272D68 #384095 #4D57BC

Accessibility & contrast

On white

12.64
#272D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#272D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D68
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D68#FFFFFF#000000##FFFFFF
##272D681.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08366A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272d68;
/* rgb */ color: rgb(39, 45, 104);
/* oklch */ color: oklch(32.8% 0.102 274.9);
Tailwind
colors: {
  custom: {
    50: '#686594',
    500: '#272d68',
    950: '#000000',
  },
}
SCSS
$custom: #272d68;
$custom-light: #686594;
$custom-dark: #000000;
JSON
{
  "hex": "#272d68",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 234.462,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.10224,
    "h": 274.9
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#272D68
secondary
#9B9450
accent
#C953D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #272D68

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

Preview Lab → · Contrast checker → · Palette generator →

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