#272F4E#272F4E

#272F4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.057 H 271.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#272F4E
RGBrgb(39, 47, 78)
HSLhsl(228, 33%, 23%)
HSVhsv(228, 50%, 31%)
CMYKcmyk(50%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.10, 6.31, -20.17)
CIE-LCHlch(20.10, 21.13, 287.38°)
OKLaboklab(31.35% 0.0018 -0.0568)
OKLCHoklch(31.35% 0.057 271.8)
XYZxyz(3.2279, 3.0142, 7.6180)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F4E #4E4627
analogous
#27424E #272F4E #32274E
triadic
#272F4E #4E272F #2F4E27
tetradic
#272F4E #4E2742 #4E4627 #274E32
square
#272F4E #4E2742 #4E4627 #274E32
split-complementary
#272F4E #4E3227 #424E27
monochromatic
#0A0C14 #131625 #272F4E #3B4877 #5060A0

Accessibility & contrast

On white

13.10
#272F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#272F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F4E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F4E#FFFFFF#000000##FFFFFF
##272F4E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#19353A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272f4e;
/* rgb */ color: rgb(39, 47, 78);
/* oklch */ color: oklch(31.3% 0.057 271.8);
Tailwind
colors: {
  custom: {
    50: '#63677f',
    500: '#272f4e',
    950: '#000000',
  },
}
SCSS
$custom: #272f4e;
$custom-light: #63677f;
$custom-dark: #000000;
JSON
{
  "hex": "#272f4e",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 227.692,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31348,
    "c": 0.05679,
    "h": 271.8
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#272F4E
secondary
#817750
accent
#B35EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #272F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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