#272C8E#272C8E

#272C8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.158 H 273.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#272C8E
RGBrgb(39, 44, 142)
HSLhsl(237, 57%, 35%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(72.5%, 69%, 0%, 44.3%)
CIE-LABlab(24.27, 32.11, -54.71)
CIE-LCHlch(24.27, 63.44, 300.41°)
OKLaboklab(36.04% 0.0083 -0.1581)
OKLCHoklch(36.04% 0.158 273)
XYZxyz(6.6182, 4.1850, 26.0449)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C8E #8E8927
analogous
#27608E #272C8E #55278E
triadic
#272C8E #8E272C #2C8E27
tetradic
#272C8E #8E2760 #8E8927 #278E55
square
#272C8E #8E2760 #8E8927 #278E55
split-complementary
#272C8E #8E5527 #608E27
monochromatic
#0D0E2E #1A1D5E #272C8E #343BBE #5D63D2

Accessibility & contrast

On white

11.43
#272C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C8E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C8E#FFFFFF#000000##FFFFFF
##272C8E1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272c8e;
/* rgb */ color: rgb(39, 44, 142);
/* oklch */ color: oklch(36.0% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#7165b0',
    500: '#272c8e',
    950: '#000000',
  },
}
SCSS
$custom: #272c8e;
$custom-light: #7165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#272c8e",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 237.087,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36039,
    "c": 0.15836,
    "h": 273
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#272C8E
secondary
#B8B359
accent
#D948E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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