#272C69#272C69

#272C69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.105 H 275.4°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#272C69
RGBrgb(39, 44, 105)
HSLhsl(235, 46%, 28%)
HSVhsv(235, 63%, 41%)
CMYKcmyk(62.9%, 58.1%, 0%, 58.8%)
CIE-LABlab(21.03, 18.37, -36.53)
CIE-LCHlch(21.03, 40.89, 296.70°)
OKLaboklab(32.64% 0.0099 -0.1048)
OKLCHoklch(32.64% 0.105 275.4)
XYZxyz(4.2864, 3.2523, 13.7637)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C69 #696427
analogous
#274D69 #272C69 #432769
triadic
#272C69 #69272C #2C6927
tetradic
#272C69 #69274D #696427 #276943
square
#272C69 #69274D #696427 #276943
split-complementary
#272C69 #694327 #4D6927
monochromatic
#080916 #16193C #272C69 #383F96 #4D56BD

Accessibility & contrast

On white

12.72
#272C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#272C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C69
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C69#FFFFFF#000000##FFFFFF
##272C691.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02356B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272c69;
/* rgb */ color: rgb(39, 44, 105);
/* oklch */ color: oklch(32.6% 0.105 275.4);
Tailwind
colors: {
  custom: {
    50: '#686594',
    500: '#272c69',
    950: '#000000',
  },
}
SCSS
$custom: #272c69;
$custom-light: #686594;
$custom-dark: #000000;
JSON
{
  "hex": "#272c69",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 235.455,
    "s": 45.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.10525,
    "h": 275.4
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#272C69
secondary
#9C9650
accent
#CC52D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #272C69

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

Preview Lab → · Contrast checker → · Palette generator →

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