#272B4E#272B4E

#272B4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.063 H 277.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#272B4E
RGBrgb(39, 43, 78)
HSLhsl(234, 33%, 23%)
HSVhsv(234, 50%, 31%)
CMYKcmyk(50%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.84, 9.16, -22.16)
CIE-LCHlch(18.84, 23.98, 292.46°)
OKLaboklab(30.38% 0.0077 -0.0626)
OKLCHoklch(30.38% 0.063 277)
XYZxyz(3.0753, 2.7090, 7.5671)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B4E #4E4A27
analogous
#273E4E #272B4E #36274E
triadic
#272B4E #4E272B #2B4E27
tetradic
#272B4E #4E273E #4E4A27 #274E36
square
#272B4E #4E273E #4E4A27 #274E36
split-complementary
#272B4E #4E3627 #3E4E27
monochromatic
#0A0B14 #131525 #272B4E #3B4177 #5058A0

Accessibility & contrast

On white

13.62
#272B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#272B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B4E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B4E#FFFFFF#000000##FFFFFF
##272B4E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#1B2C4D
Tritanopia (blue-blind)
#193238
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #272b4e;
/* rgb */ color: rgb(39, 43, 78);
/* oklch */ color: oklch(30.4% 0.063 277.0);
Tailwind
colors: {
  custom: {
    50: '#646480',
    500: '#272b4e',
    950: '#000000',
  },
}
SCSS
$custom: #272b4e;
$custom-light: #646480;
$custom-dark: #000000;
JSON
{
  "hex": "#272b4e",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 233.846,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30378,
    "c": 0.06306,
    "h": 277
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#272B4E
secondary
#817C50
accent
#BE5EC9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #272B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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