#272C5D#272C5D

#272C5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.086 H 275.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#272C5D
RGBrgb(39, 44, 93)
HSLhsl(234, 41%, 26%)
HSVhsv(234, 58%, 36%)
CMYKcmyk(58.1%, 52.7%, 0%, 63.5%)
CIE-LABlab(20.14, 13.89, -30.11)
CIE-LCHlch(20.14, 33.16, 294.77°)
OKLaboklab(31.69% 0.0089 -0.0859)
OKLCHoklch(31.69% 0.086 275.9)
XYZxyz(3.7125, 3.0228, 10.7416)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C5D #5D5827
analogous
#27475D #272C5D #3D275D
triadic
#272C5D #5D272C #2C5D27
tetradic
#272C5D #5D2747 #5D5827 #275D3D
square
#272C5D #5D2747 #5D5827 #275D3D
split-complementary
#272C5D #5D3D27 #475D27
monochromatic
#090A16 #151832 #272C5D #394088 #4B55B3

Accessibility & contrast

On white

13.09
#272C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C5D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C5D#FFFFFF#000000##FFFFFF
##272C5D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#0D2E5C
Tritanopia (blue-blind)
#0D3740
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272c5d;
/* rgb */ color: rgb(39, 44, 93);
/* oklch */ color: oklch(31.7% 0.086 275.9);
Tailwind
colors: {
  custom: {
    50: '#66648b',
    500: '#272c5d',
    950: '#000000',
  },
}
SCSS
$custom: #272c5d;
$custom-light: #66648b;
$custom-dark: #000000;
JSON
{
  "hex": "#272c5d",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 234.444,
    "s": 40.909,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.08635,
    "h": 275.9
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#272C5D
secondary
#908A50
accent
#C557D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #272C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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