#272F96#272F96

#272F96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.166 H 271.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#272F96
RGBrgb(39, 47, 150)
HSLhsl(236, 59%, 37%)
HSVhsv(236, 74%, 59%)
CMYKcmyk(74%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.76, 33.08, -57.21)
CIE-LCHlch(25.76, 66.09, 300.04°)
OKLaboklab(37.35% 0.0055 -0.1654)
OKLCHoklch(37.35% 0.166 271.9)
XYZxyz(7.3564, 4.6656, 29.3611)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F96 #968E27
analogous
#276696 #272F96 #572796
triadic
#272F96 #96272F #2F9627
tetradic
#272F96 #962766 #968E27 #279657
square
#272F96 #962766 #968E27 #279657
split-complementary
#272F96 #965727 #669627
monochromatic
#0E1135 #1A2065 #272F96 #343EC7 #616AD6

Accessibility & contrast

On white

10.86
#272F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#272F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F96
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F96#FFFFFF#000000##FFFFFF
##272F961.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272f96;
/* rgb */ color: rgb(39, 47, 150);
/* oklch */ color: oklch(37.4% 0.166 271.9);
Tailwind
colors: {
  custom: {
    50: '#7368b6',
    500: '#272f96',
    950: '#000000',
  },
}
SCSS
$custom: #272f96;
$custom-light: #7368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272f96",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 235.676,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.16552,
    "h": 271.9
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#272F96
secondary
#BCB55D
accent
#D746E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F96

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

Preview Lab → · Contrast checker → · Palette generator →

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