#272E96#272E96

#272E96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.167 H 272.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#272E96
RGBrgb(39, 46, 150)
HSLhsl(236, 59%, 37%)
HSVhsv(236, 74%, 59%)
CMYKcmyk(74%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.52, 33.72, -57.60)
CIE-LCHlch(25.52, 66.75, 300.35°)
OKLaboklab(37.18% 0.0061 -0.1666)
OKLCHoklch(37.18% 0.167 272.1)
XYZxyz(7.3169, 4.5866, 29.3479)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E96 #968F27
analogous
#276696 #272E96 #582796
triadic
#272E96 #96272E #2E9627
tetradic
#272E96 #962766 #968F27 #279658
square
#272E96 #962766 #968F27 #279658
split-complementary
#272E96 #965827 #669627
monochromatic
#0E1035 #1A1F65 #272E96 #343DC7 #6169D6

Accessibility & contrast

On white

10.95
#272E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#272E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E96
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E96#FFFFFF#000000##FFFFFF
##272E961.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272e96;
/* rgb */ color: rgb(39, 46, 150);
/* oklch */ color: oklch(37.2% 0.167 272.1);
Tailwind
colors: {
  custom: {
    50: '#7367b6',
    500: '#272e96',
    950: '#000000',
  },
}
SCSS
$custom: #272e96;
$custom-light: #7367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272e96",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 236.216,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3718,
    "c": 0.16669,
    "h": 272.1
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#272E96
secondary
#BCB65D
accent
#D846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E96

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

Preview Lab → · Contrast checker → · Palette generator →

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