#272F6F#272F6F

#272F6F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.110 H 273.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#272F6F
RGBrgb(39, 47, 111)
HSLhsl(233, 48%, 29%)
HSVhsv(233, 65%, 44%)
CMYKcmyk(64.9%, 57.7%, 0%, 56.5%)
CIE-LABlab(22.34, 18.53, -38.28)
CIE-LCHlch(22.34, 42.53, 295.82°)
OKLaboklab(33.78% 0.0069 -0.1099)
OKLCHoklch(33.78% 0.11 273.6)
XYZxyz(4.7215, 3.6117, 15.4842)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F6F #6F6727
analogous
#27536F #272F6F #43276F
triadic
#272F6F #6F272F #2F6F27
tetradic
#272F6F #6F2753 #6F6727 #276F43
square
#272F6F #6F2753 #6F6727 #276F43
split-complementary
#272F6F #6F4327 #536F27
monochromatic
#080A17 #171C42 #272F6F #37429C #4F5CC1

Accessibility & contrast

On white

12.19
#272F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#272F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F6F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F6F#FFFFFF#000000##FFFFFF
##272F6F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272f6f;
/* rgb */ color: rgb(39, 47, 111);
/* oklch */ color: oklch(33.8% 0.110 273.6);
Tailwind
colors: {
  custom: {
    50: '#696799',
    500: '#272f6f',
    950: '#000000',
  },
}
SCSS
$custom: #272f6f;
$custom-light: #696799;
$custom-dark: #000000;
JSON
{
  "hex": "#272f6f",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 233.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.11011,
    "h": 273.6
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#272F6F
secondary
#A29850
accent
#C950D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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