#272B6C#272B6C

#272B6C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.111 H 275.7°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#272B6C
RGBrgb(39, 43, 108)
HSLhsl(237, 47%, 29%)
HSVhsv(237, 64%, 42%)
CMYKcmyk(63.9%, 60.2%, 0%, 57.6%)
CIE-LABlab(20.99, 20.20, -38.55)
CIE-LCHlch(20.99, 43.52, 297.65°)
OKLaboklab(32.69% 0.0111 -0.1107)
OKLCHoklch(32.69% 0.111 275.7)
XYZxyz(4.4065, 3.2415, 14.5779)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B6C #6C6827
analogous
#274E6C #272B6C #46276C
triadic
#272B6C #6C272B #2B6C27
tetradic
#272B6C #6C274E #6C6827 #276C46
square
#272B6C #6C274E #6C6827 #276C46
split-complementary
#272B6C #6C4627 #4E6C27
monochromatic
#080916 #17193F #272B6C #373D99 #4E55BF

Accessibility & contrast

On white

12.74
#272B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B6C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B6C#FFFFFF#000000##FFFFFF
##272B6C1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272b6c;
/* rgb */ color: rgb(39, 43, 108);
/* oklch */ color: oklch(32.7% 0.111 275.7);
Tailwind
colors: {
  custom: {
    50: '#696497',
    500: '#272b6c',
    950: '#000000',
  },
}
SCSS
$custom: #272b6c;
$custom-light: #696497;
$custom-dark: #000000;
JSON
{
  "hex": "#272b6c",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 236.522,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.11126,
    "h": 275.7
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#272B6C
secondary
#9F9A50
accent
#CF51D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #272B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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