#272E5D#272E5D

#272E5D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.083 H 274.4°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#272E5D
RGBrgb(39, 46, 93)
HSLhsl(232, 41%, 26%)
HSVhsv(232, 58%, 36%)
CMYKcmyk(58.1%, 50.5%, 0%, 63.5%)
CIE-LABlab(20.73, 12.47, -29.15)
CIE-LCHlch(20.73, 31.71, 293.16°)
OKLaboklab(32.14% 0.0064 -0.083)
OKLCHoklch(32.14% 0.083 274.4)
XYZxyz(3.7888, 3.1754, 10.7671)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E5D #5D5627
analogous
#27495D #272E5D #3B275D
triadic
#272E5D #5D272E #2E5D27
tetradic
#272E5D #5D2749 #5D5627 #275D3B
square
#272E5D #5D2749 #5D5627 #275D3B
split-complementary
#272E5D #5D3B27 #495D27
monochromatic
#090B16 #151932 #272E5D #394388 #4B59B3

Accessibility & contrast

On white

12.84
#272E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#272E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E5D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E5D#FFFFFF#000000##FFFFFF
##272E5D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#0C3841
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272e5d;
/* rgb */ color: rgb(39, 46, 93);
/* oklch */ color: oklch(32.1% 0.083 274.4);
Tailwind
colors: {
  custom: {
    50: '#66668b',
    500: '#272e5d',
    950: '#000000',
  },
}
SCSS
$custom: #272e5d;
$custom-light: #66668b;
$custom-dark: #000000;
JSON
{
  "hex": "#272e5d",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 232.222,
    "s": 40.909,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.08329,
    "h": 274.4
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#272E5D
secondary
#908850
accent
#C157D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #272E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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