#272C4E#272C4E

#272C4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.061 H 275.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#272C4E
RGBrgb(39, 44, 78)
HSLhsl(232, 33%, 23%)
HSVhsv(232, 50%, 31%)
CMYKcmyk(50%, 43.6%, 0%, 69.4%)
CIE-LABlab(19.15, 8.44, -21.67)
CIE-LCHlch(19.15, 23.25, 291.29°)
OKLaboklab(30.62% 0.0062 -0.0611)
OKLCHoklch(30.62% 0.061 275.8)
XYZxyz(3.1121, 2.7826, 7.5794)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C4E #4E4927
analogous
#273F4E #272C4E #35274E
triadic
#272C4E #4E272C #2C4E27
tetradic
#272C4E #4E273F #4E4927 #274E35
square
#272C4E #4E273F #4E4927 #274E35
split-complementary
#272C4E #4E3527 #3F4E27
monochromatic
#0A0C14 #131525 #272C4E #3B4377 #505AA0

Accessibility & contrast

On white

13.49
#272C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#272C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C4E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C4E#FFFFFF#000000##FFFFFF
##272C4E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#193339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #272c4e;
/* rgb */ color: rgb(39, 44, 78);
/* oklch */ color: oklch(30.6% 0.061 275.8);
Tailwind
colors: {
  custom: {
    50: '#646480',
    500: '#272c4e',
    950: '#000000',
  },
}
SCSS
$custom: #272c4e;
$custom-light: #646480;
$custom-dark: #000000;
JSON
{
  "hex": "#272c4e",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 232.308,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30618,
    "c": 0.06146,
    "h": 275.8
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#272C4E
secondary
#817B50
accent
#BC5EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #272C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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