#272A96#272A96

#272A96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.171 H 272.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#272A96
RGBrgb(39, 42, 150)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 59%)
CMYKcmyk(74%, 72%, 0%, 41.2%)
CIE-LABlab(24.60, 36.23, -59.11)
CIE-LCHlch(24.60, 69.33, 301.50°)
OKLaboklab(36.52% 0.0085 -0.171)
OKLCHoklch(36.52% 0.171 272.8)
XYZxyz(7.1678, 4.2885, 29.2983)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A96 #969327
analogous
#276296 #272A96 #5B2796
triadic
#272A96 #96272A #2A9627
tetradic
#272A96 #962762 #969327 #27965B
square
#272A96 #962762 #969327 #27965B
split-complementary
#272A96 #965B27 #629627
monochromatic
#0E0F35 #1A1C65 #272A96 #3438C7 #6165D6

Accessibility & contrast

On white

11.30
#272A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#272A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A96
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A96#FFFFFF#000000##FFFFFF
##272A961.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272a96;
/* rgb */ color: rgb(39, 42, 150);
/* oklch */ color: oklch(36.5% 0.171 272.8);
Tailwind
colors: {
  custom: {
    50: '#7364b6',
    500: '#272a96',
    950: '#000000',
  },
}
SCSS
$custom: #272a96;
$custom-light: #7364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272a96",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 238.378,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.1712,
    "h": 272.8
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#272A96
secondary
#BCB95D
accent
#DE46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272A96

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

Preview Lab → · Contrast checker → · Palette generator →

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