#272E9C#272E9C

#272E9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.175 H 271.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#272E9C
RGBrgb(39, 46, 156)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 61%)
CMYKcmyk(75%, 70.5%, 0%, 38.8%)
CIE-LABlab(26.11, 35.88, -60.31)
CIE-LCHlch(26.11, 70.17, 300.75°)
OKLaboklab(37.79% 0.0054 -0.1745)
OKLCHoklch(37.79% 0.175 271.8)
XYZxyz(7.8124, 4.7848, 31.9579)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E9C #9C9527
analogous
#27689C #272E9C #5A279C
triadic
#272E9C #9C272E #2E9C27
tetradic
#272E9C #9C2768 #9C9527 #279C5A
square
#272E9C #9C2768 #9C9527 #279C5A
split-complementary
#272E9C #9C5A27 #689C27
monochromatic
#0F113A #1B206B #272E9C #343DCC #656CD8

Accessibility & contrast

On white

10.73
#272E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E9C
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E9C#FFFFFF#000000##FFFFFF
##272E9C1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272e9c;
/* rgb */ color: rgb(39, 46, 156);
/* oklch */ color: oklch(37.8% 0.175 271.8);
Tailwind
colors: {
  custom: {
    50: '#7467ba',
    500: '#272e9c',
    950: '#000000',
  },
}
SCSS
$custom: #272e9c;
$custom-light: #7467ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272e9c",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 236.41,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.17455,
    "h": 271.8
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#272E9C
secondary
#BEB961
accent
#DA45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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