#272E9E#272E9E

#272E9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.177 H 271.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#272E9E
RGBrgb(39, 46, 158)
HSLhsl(236, 60%, 39%)
HSVhsv(236, 75%, 62%)
CMYKcmyk(75.3%, 70.9%, 0%, 38%)
CIE-LABlab(26.31, 36.59, -61.20)
CIE-LCHlch(26.31, 71.30, 300.88°)
OKLaboklab(37.99% 0.0052 -0.1771)
OKLCHoklch(37.99% 0.177 271.7)
XYZxyz(7.9832, 4.8531, 32.8571)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E9E #9E9727
analogous
#27699E #272E9E #5B279E
triadic
#272E9E #9E272E #2E9E27
tetradic
#272E9E #9E2769 #9E9727 #279E5B
square
#272E9E #9E2769 #9E9727 #279E5B
split-complementary
#272E9E #9E5B27 #699E27
monochromatic
#0F113C #1B206D #272E9E #353ECD #666DD9

Accessibility & contrast

On white

10.66
#272E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#272E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E9E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E9E#FFFFFF#000000##FFFFFF
##272E9E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272e9e;
/* rgb */ color: rgb(39, 46, 158);
/* oklch */ color: oklch(38.0% 0.177 271.7);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#272e9e',
    950: '#000000',
  },
}
SCSS
$custom: #272e9e;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#272e9e",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 236.471,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37989,
    "c": 0.17715,
    "h": 271.7
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#272E9E
secondary
#BFBA62
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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