#272B76#272B76

#272B76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.126 H 275.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#272B76
RGBrgb(39, 43, 118)
HSLhsl(237, 50%, 31%)
HSVhsv(237, 67%, 46%)
CMYKcmyk(66.9%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.82, 23.93, -43.62)
CIE-LCHlch(21.82, 49.75, 298.75°)
OKLaboklab(33.57% 0.0109 -0.1256)
OKLCHoklch(33.57% 0.126 275)
XYZxyz(4.9695, 3.4667, 17.5433)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B76 #767227
analogous
#275276 #272B76 #4A2776
triadic
#272B76 #76272B #2B7627
tetradic
#272B76 #762752 #767227 #27764A
square
#272B76 #762752 #767227 #27764A
split-complementary
#272B76 #764A27 #527627
monochromatic
#09091A #181A48 #272B76 #363CA4 #5258C6

Accessibility & contrast

On white

12.40
#272B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#272B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B76
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B76#FFFFFF#000000##FFFFFF
##272B761.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272b76;
/* rgb */ color: rgb(39, 43, 118);
/* oklch */ color: oklch(33.6% 0.126 275.0);
Tailwind
colors: {
  custom: {
    50: '#6b649e',
    500: '#272b76',
    950: '#000000',
  },
}
SCSS
$custom: #272b76;
$custom-light: #6b649e;
$custom-dark: #000000;
JSON
{
  "hex": "#272b76",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 236.962,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.12609,
    "h": 275
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#272B76
secondary
#A8A451
accent
#D34EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #272B76

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

Preview Lab → · Contrast checker → · Palette generator →

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