#272F6A#272F6A

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

Color values

HEX#272F6A
RGBrgb(39, 47, 106)
HSLhsl(233, 46%, 28%)
HSVhsv(233, 63%, 42%)
CMYKcmyk(63.2%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.96, 16.64, -35.67)
CIE-LCHlch(21.96, 39.36, 295.00°)
OKLaboklab(33.37% 0.0066 -0.1022)
OKLCHoklch(33.37% 0.102 273.7)
XYZxyz(4.4539, 3.5046, 14.0746)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F6A #6A6227
analogous
#27506A #272F6A #40276A
triadic
#272F6A #6A272F #2F6A27
tetradic
#272F6A #6A2750 #6A6227 #276A40
square
#272F6A #6A2750 #6A6227 #276A40
split-complementary
#272F6A #6A4027 #506A27
monochromatic
#080A16 #171B3D #272F6A #374397 #4E5BBE

Accessibility & contrast

On white

12.35
#272F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#272F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F6A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F6A#FFFFFF#000000##FFFFFF
##272F6A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272f6a;
/* rgb */ color: rgb(39, 47, 106);
/* oklch */ color: oklch(33.4% 0.102 273.7);
Tailwind
colors: {
  custom: {
    50: '#686795',
    500: '#272f6a',
    950: '#000000',
  },
}
SCSS
$custom: #272f6a;
$custom-light: #686795;
$custom-dark: #000000;
JSON
{
  "hex": "#272f6a",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 232.836,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33366,
    "c": 0.10243,
    "h": 273.7
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#272F6A
secondary
#9D9450
accent
#C652D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #272F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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