#272C9B#272C9B

#272C9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.175 H 272.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#272C9B
RGBrgb(39, 44, 155)
HSLhsl(237, 60%, 38%)
HSVhsv(237, 75%, 61%)
CMYKcmyk(74.8%, 71.6%, 0%, 39.2%)
CIE-LABlab(25.56, 36.76, -60.61)
CIE-LCHlch(25.56, 70.88, 301.24°)
OKLaboklab(37.36% 0.0067 -0.1753)
OKLCHoklch(37.36% 0.175 272.2)
XYZxyz(7.6518, 4.5985, 31.4883)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C9B #9B9627
analogous
#27669B #272C9B #5C279B
triadic
#272C9B #9B272C #2C9B27
tetradic
#272C9B #9B2766 #9B9627 #279B5C
square
#272C9B #9B2766 #9B9627 #279B5C
split-complementary
#272C9B #9B5C27 #669B27
monochromatic
#0E1039 #1B1E6A #272C9B #333ACC #6469D8

Accessibility & contrast

On white

10.94
#272C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#272C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C9B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C9B#FFFFFF#000000##FFFFFF
##272C9B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272c9b;
/* rgb */ color: rgb(39, 44, 155);
/* oklch */ color: oklch(37.4% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#272c9b',
    950: '#000000',
  },
}
SCSS
$custom: #272c9b;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272c9b",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 237.414,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.17548,
    "h": 272.2
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#272C9B
secondary
#BEBA60
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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