#272B72#272B72

#272B72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.120 H 275.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#272B72
RGBrgb(39, 43, 114)
HSLhsl(237, 49%, 30%)
HSVhsv(237, 66%, 45%)
CMYKcmyk(65.8%, 62.3%, 0%, 55.3%)
CIE-LABlab(21.48, 22.44, -41.61)
CIE-LCHlch(21.48, 47.28, 298.34°)
OKLaboklab(33.21% 0.011 -0.1197)
OKLCHoklch(33.21% 0.12 275.3)
XYZxyz(4.7368, 3.3736, 16.3179)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B72 #726E27
analogous
#275172 #272B72 #482772
triadic
#272B72 #72272B #2B7227
tetradic
#272B72 #722751 #726E27 #277248
square
#272B72 #722751 #726E27 #277248
split-complementary
#272B72 #724827 #517227
monochromatic
#080917 #171A44 #272B72 #373CA0 #5056C3

Accessibility & contrast

On white

12.54
#272B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B72
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B72#FFFFFF#000000##FFFFFF
##272B721.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272b72;
/* rgb */ color: rgb(39, 43, 114);
/* oklch */ color: oklch(33.2% 0.120 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a649b',
    500: '#272b72',
    950: '#000000',
  },
}
SCSS
$custom: #272b72;
$custom-light: #6a649b;
$custom-dark: #000000;
JSON
{
  "hex": "#272b72",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 236.8,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.12023,
    "h": 275.3
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#272B72
secondary
#A4A050
accent
#D14FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272B72

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

Preview Lab → · Contrast checker → · Palette generator →

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