#272A92#272A92

#272A92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.166 H 273.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#272A92
RGBrgb(39, 42, 146)
HSLhsl(238, 58%, 36%)
HSVhsv(238, 73%, 57%)
CMYKcmyk(73.3%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.20, 34.81, -57.31)
CIE-LCHlch(24.20, 67.06, 301.28°)
OKLaboklab(36.1% 0.0091 -0.1657)
OKLCHoklch(36.1% 0.166 273.1)
XYZxyz(6.8512, 4.1619, 27.6308)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A92 #928F27
analogous
#276092 #272A92 #5A2792
triadic
#272A92 #92272A #2A9227
tetradic
#272A92 #922760 #928F27 #27925A
square
#272A92 #922760 #928F27 #27925A
split-complementary
#272A92 #925A27 #609227
monochromatic
#0D0E31 #1A1C62 #272A92 #3438C2 #5F62D4

Accessibility & contrast

On white

11.46
#272A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A92
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A92#FFFFFF#000000##FFFFFF
##272A921.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272a92;
/* rgb */ color: rgb(39, 42, 146);
/* oklch */ color: oklch(36.1% 0.166 273.1);
Tailwind
colors: {
  custom: {
    50: '#7264b3',
    500: '#272a92',
    950: '#000000',
  },
}
SCSS
$custom: #272a92;
$custom-light: #7264b3;
$custom-dark: #000000;
JSON
{
  "hex": "#272a92",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 238.318,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.16598,
    "h": 273.1
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#272A92
secondary
#BAB75B
accent
#DD47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272A92

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

Preview Lab → · Contrast checker → · Palette generator →

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