#272D7C#272D7C

#272D7C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.132 H 273.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#272D7C
RGBrgb(39, 45, 124)
HSLhsl(236, 52%, 32%)
HSVhsv(236, 69%, 49%)
CMYKcmyk(68.5%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.87, 24.81, -45.73)
CIE-LCHlch(22.87, 52.02, 298.48°)
OKLaboklab(34.5% 0.0089 -0.1318)
OKLCHoklch(34.5% 0.132 273.9)
XYZxyz(5.4120, 3.7629, 19.5060)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D7C #7C7627
analogous
#27587C #272D7C #4C277C
triadic
#272D7C #7C272D #2D7C27
tetradic
#272D7C #7C2758 #7C7627 #277C4C
square
#272D7C #7C2758 #7C7627 #277C4C
split-complementary
#272D7C #7C4C27 #587C27
monochromatic
#0A0B1F #181C4D #272D7C #363EAB #545CC9

Accessibility & contrast

On white

11.98
#272D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D7C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D7C#FFFFFF#000000##FFFFFF
##272D7C1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272d7c;
/* rgb */ color: rgb(39, 45, 124);
/* oklch */ color: oklch(34.5% 0.132 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d66a3',
    500: '#272d7c',
    950: '#000000',
  },
}
SCSS
$custom: #272d7c;
$custom-light: #6d66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#272d7c",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 235.765,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34504,
    "c": 0.13209,
    "h": 273.9
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#272D7C
secondary
#AEA751
accent
#D14CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #272D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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