#272F93#272F93

#272F93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.162 H 272.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#272F93
RGBrgb(39, 47, 147)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 73%, 58%)
CMYKcmyk(73.5%, 68%, 0%, 42.4%)
CIE-LABlab(25.47, 31.99, -55.84)
CIE-LCHlch(25.47, 64.35, 299.81°)
OKLaboklab(37.06% 0.0058 -0.1614)
OKLCHoklch(37.06% 0.162 272)
XYZxyz(7.1179, 4.5702, 28.1051)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F93 #938B27
analogous
#276593 #272F93 #552793
triadic
#272F93 #93272F #2F9327
tetradic
#272F93 #932765 #938B27 #279355
square
#272F93 #932765 #938B27 #279355
split-complementary
#272F93 #935527 #659327
monochromatic
#0D1032 #1A2063 #272F93 #343EC3 #6068D5

Accessibility & contrast

On white

10.97
#272F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#272F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F93
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F93#FFFFFF#000000##FFFFFF
##272F931.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272f93;
/* rgb */ color: rgb(39, 47, 147);
/* oklch */ color: oklch(37.1% 0.162 272.0);
Tailwind
colors: {
  custom: {
    50: '#7268b4',
    500: '#272f93',
    950: '#000000',
  },
}
SCSS
$custom: #272f93;
$custom-light: #7268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272f93",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 235.556,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37056,
    "c": 0.16151,
    "h": 272
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#272F93
secondary
#BAB35C
accent
#D647E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F93

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

Preview Lab → · Contrast checker → · Palette generator →

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