#272F68#272F68

#272F68 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.099 H 273.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#272F68
RGBrgb(39, 47, 104)
HSLhsl(233, 45%, 28%)
HSVhsv(233, 63%, 41%)
CMYKcmyk(62.5%, 54.8%, 0%, 59.2%)
CIE-LABlab(21.81, 15.88, -34.62)
CIE-LCHlch(21.81, 38.09, 294.64°)
OKLaboklab(33.21% 0.0064 -0.0991)
OKLCHoklch(33.21% 0.099 273.7)
XYZxyz(4.3511, 3.4635, 13.5333)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F68 #686027
analogous
#274F68 #272F68 #3F2768
triadic
#272F68 #68272F #2F6827
tetradic
#272F68 #68274F #686027 #27683F
square
#272F68 #68274F #686027 #27683F
split-complementary
#272F68 #683F27 #4F6827
monochromatic
#080A16 #161B3B #272F68 #384395 #4D5BBC

Accessibility & contrast

On white

12.41
#272F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#272F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F68
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F68#FFFFFF#000000##FFFFFF
##272F681.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F376A
Deuteranopia (green-blind)
#013267
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272f68;
/* rgb */ color: rgb(39, 47, 104);
/* oklch */ color: oklch(33.2% 0.099 273.7);
Tailwind
colors: {
  custom: {
    50: '#686793',
    500: '#272f68',
    950: '#000000',
  },
}
SCSS
$custom: #272f68;
$custom-light: #686793;
$custom-dark: #000000;
JSON
{
  "hex": "#272f68",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 232.615,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.09932,
    "h": 273.7
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#272F68
secondary
#9B9250
accent
#C553D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #272F68

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

Preview Lab → · Contrast checker → · Palette generator →

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