#272C60#272C60

#272C60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.091 H 275.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#272C60
RGBrgb(39, 44, 96)
HSLhsl(235, 42%, 26%)
HSVhsv(235, 59%, 38%)
CMYKcmyk(59.4%, 54.2%, 0%, 62.4%)
CIE-LABlab(20.35, 15.01, -31.74)
CIE-LCHlch(20.35, 35.11, 295.30°)
OKLaboklab(31.92% 0.0093 -0.0907)
OKLCHoklch(31.92% 0.091 275.8)
XYZxyz(3.8480, 3.0770, 11.4552)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C60 #605B27
analogous
#274960 #272C60 #3F2760
triadic
#272C60 #60272C #2C6027
tetradic
#272C60 #602749 #605B27 #27603F
square
#272C60 #602749 #605B27 #27603F
split-complementary
#272C60 #603F27 #496027
monochromatic
#090A16 #151834 #272C60 #39408C #4B55B6

Accessibility & contrast

On white

13.00
#272C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#272C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C60
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C60#FFFFFF#000000##FFFFFF
##272C601.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113462
Deuteranopia (green-blind)
#082F5F
Tritanopia (blue-blind)
#093841
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272c60;
/* rgb */ color: rgb(39, 44, 96);
/* oklch */ color: oklch(31.9% 0.091 275.8);
Tailwind
colors: {
  custom: {
    50: '#67648d',
    500: '#272c60',
    950: '#000000',
  },
}
SCSS
$custom: #272c60;
$custom-light: #67648d;
$custom-dark: #000000;
JSON
{
  "hex": "#272c60",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 234.737,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.09116,
    "h": 275.8
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#272C60
secondary
#938D50
accent
#C756D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #272C60

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

Preview Lab → · Contrast checker → · Palette generator →

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