#272D93#272D93

#272D93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.164 H 272.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#272D93
RGBrgb(39, 45, 147)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 73%, 58%)
CMYKcmyk(73.5%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.00, 33.28, -56.62)
CIE-LCHlch(25.00, 65.67, 300.44°)
OKLaboklab(36.71% 0.0071 -0.1637)
OKLCHoklch(36.71% 0.164 272.5)
XYZxyz(7.0398, 4.4140, 28.0791)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D93 #938D27
analogous
#276393 #272D93 #572793
triadic
#272D93 #93272D #2D9327
tetradic
#272D93 #932763 #938D27 #279357
square
#272D93 #932763 #938D27 #279357
split-complementary
#272D93 #935727 #639327
monochromatic
#0D0F32 #1A1E63 #272D93 #343CC3 #6066D5

Accessibility & contrast

On white

11.15
#272D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D93
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D93#FFFFFF#000000##FFFFFF
##272D931.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272d93;
/* rgb */ color: rgb(39, 45, 147);
/* oklch */ color: oklch(36.7% 0.164 272.5);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#272d93',
    950: '#000000',
  },
}
SCSS
$custom: #272d93;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272d93",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 236.667,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36709,
    "c": 0.16386,
    "h": 272.5
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#272D93
secondary
#BAB55C
accent
#D947E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272D93

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

Preview Lab → · Contrast checker → · Palette generator →

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