#272B96#272B96

#272B96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.170 H 272.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#272B96
RGBrgb(39, 43, 150)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 59%)
CMYKcmyk(74%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.83, 35.61, -58.74)
CIE-LCHlch(24.83, 68.69, 301.22°)
OKLaboklab(36.68% 0.0079 -0.1699)
OKLCHoklch(36.68% 0.17 272.7)
XYZxyz(7.2037, 4.3604, 29.3102)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B96 #969227
analogous
#276396 #272B96 #5B2796
triadic
#272B96 #96272B #2B9627
tetradic
#272B96 #962763 #969227 #27965B
square
#272B96 #962763 #969227 #27965B
split-complementary
#272B96 #965B27 #639627
monochromatic
#0E0F35 #1A1D65 #272B96 #3439C7 #6166D6

Accessibility & contrast

On white

11.22
#272B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#272B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B96
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B96#FFFFFF#000000##FFFFFF
##272B961.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272b96;
/* rgb */ color: rgb(39, 43, 150);
/* oklch */ color: oklch(36.7% 0.170 272.7);
Tailwind
colors: {
  custom: {
    50: '#7365b6',
    500: '#272b96',
    950: '#000000',
  },
}
SCSS
$custom: #272b96;
$custom-light: #7365b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272b96",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 237.838,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36679,
    "c": 0.17009,
    "h": 272.7
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#272B96
secondary
#BCB85D
accent
#DC46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B96

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

Preview Lab → · Contrast checker → · Palette generator →

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