#272C5E#272C5E

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

Color values

HEX#272C5E
RGBrgb(39, 44, 94)
HSLhsl(235, 41%, 26%)
HSVhsv(235, 59%, 37%)
CMYKcmyk(58.5%, 53.2%, 0%, 63.1%)
CIE-LABlab(20.21, 14.26, -30.66)
CIE-LCHlch(20.21, 33.81, 294.95°)
OKLaboklab(31.76% 0.009 -0.0875)
OKLCHoklch(31.76% 0.088 275.9)
XYZxyz(3.7571, 3.0406, 10.9764)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C5E #5E5927
analogous
#27475E #272C5E #3D275E
triadic
#272C5E #5E272C #2C5E27
tetradic
#272C5E #5E2747 #5E5927 #275E3D
square
#272C5E #5E2747 #5E5927 #275E3D
split-complementary
#272C5E #5E3D27 #475E27
monochromatic
#090A16 #151833 #272C5E #394089 #4B55B4

Accessibility & contrast

On white

13.06
#272C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#272C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C5E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C5E#FFFFFF#000000##FFFFFF
##272C5E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#0C3740
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272c5e;
/* rgb */ color: rgb(39, 44, 94);
/* oklch */ color: oklch(31.8% 0.088 275.9);
Tailwind
colors: {
  custom: {
    50: '#66648c',
    500: '#272c5e',
    950: '#000000',
  },
}
SCSS
$custom: #272c5e;
$custom-light: #66648c;
$custom-dark: #000000;
JSON
{
  "hex": "#272c5e",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 234.545,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31762,
    "c": 0.08796,
    "h": 275.9
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#272C5E
secondary
#918B50
accent
#C657D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #272C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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