#272A93#272A93

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

Color values

HEX#272A93
RGBrgb(39, 42, 147)
HSLhsl(238, 58%, 36%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(73.5%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.30, 35.17, -57.76)
CIE-LCHlch(24.30, 67.63, 301.33°)
OKLaboklab(36.21% 0.0089 -0.1671)
OKLCHoklch(36.21% 0.167 273.1)
XYZxyz(6.9294, 4.1932, 28.0423)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A93 #939027
analogous
#276093 #272A93 #5A2793
triadic
#272A93 #93272A #2A9327
tetradic
#272A93 #932760 #939027 #27935A
square
#272A93 #932760 #939027 #27935A
split-complementary
#272A93 #935A27 #609327
monochromatic
#0D0E32 #1A1C63 #272A93 #3438C3 #6063D5

Accessibility & contrast

On white

11.42
#272A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#272A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A93
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A93#FFFFFF#000000##FFFFFF
##272A931.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272a93;
/* rgb */ color: rgb(39, 42, 147);
/* oklch */ color: oklch(36.2% 0.167 273.1);
Tailwind
colors: {
  custom: {
    50: '#7264b4',
    500: '#272a93',
    950: '#000000',
  },
}
SCSS
$custom: #272a93;
$custom-light: #7264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272a93",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 238.333,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36207,
    "c": 0.1673,
    "h": 273.1
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272A93

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

Preview Lab → · Contrast checker → · Palette generator →

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