#272B93#272B93

#272B93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.166 H 272.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#272B93
RGBrgb(39, 43, 147)
HSLhsl(238, 58%, 36%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(73.5%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.53, 34.54, -57.39)
CIE-LCHlch(24.53, 66.98, 301.04°)
OKLaboklab(36.37% 0.0083 -0.166)
OKLCHoklch(36.37% 0.166 272.9)
XYZxyz(6.9653, 4.2650, 28.0542)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B93 #938F27
analogous
#276193 #272B93 #592793
triadic
#272B93 #93272B #2B9327
tetradic
#272B93 #932761 #938F27 #279359
square
#272B93 #932761 #938F27 #279359
split-complementary
#272B93 #935927 #619327
monochromatic
#0D0F32 #1A1D63 #272B93 #3439C3 #6064D5

Accessibility & contrast

On white

11.33
#272B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B93
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B93#FFFFFF#000000##FFFFFF
##272B931.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b93;
/* rgb */ color: rgb(39, 43, 147);
/* oklch */ color: oklch(36.4% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#7265b4',
    500: '#272b93',
    950: '#000000',
  },
}
SCSS
$custom: #272b93;
$custom-light: #7265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272b93",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 237.778,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.16617,
    "h": 272.9
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272B93

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

Preview Lab → · Contrast checker → · Palette generator →

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