#272B9C#272B9C

#272B9C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.178 H 272.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#272B9C
RGBrgb(39, 43, 156)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 61%)
CMYKcmyk(75%, 72.4%, 0%, 38.8%)
CIE-LABlab(25.44, 37.73, -61.42)
CIE-LCHlch(25.44, 72.08, 301.56°)
OKLaboklab(37.3% 0.0071 -0.1777)
OKLCHoklch(37.3% 0.178 272.3)
XYZxyz(7.6993, 4.5586, 31.9202)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B9C #9C9827
analogous
#27659C #272B9C #5D279C
triadic
#272B9C #9C272B #2B9C27
tetradic
#272B9C #9C2765 #9C9827 #279C5D
square
#272B9C #9C2765 #9C9827 #279C5D
split-complementary
#272B9C #9C5D27 #659C27
monochromatic
#0F103A #1B1E6B #272B9C #3439CC #6569D8

Accessibility & contrast

On white

10.98
#272B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B9C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B9C#FFFFFF#000000##FFFFFF
##272B9C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272b9c;
/* rgb */ color: rgb(39, 43, 156);
/* oklch */ color: oklch(37.3% 0.178 272.3);
Tailwind
colors: {
  custom: {
    50: '#7465ba',
    500: '#272b9c',
    950: '#000000',
  },
}
SCSS
$custom: #272b9c;
$custom-light: #7465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272b9c",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 237.949,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.373,
    "c": 0.17785,
    "h": 272.3
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#272B9C
secondary
#BEBB61
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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