#272A9B#272A9B

#272A9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.178 H 272.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#272A9B
RGBrgb(39, 42, 155)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 61%)
CMYKcmyk(74.8%, 72.9%, 0%, 39.2%)
CIE-LABlab(25.12, 37.99, -61.34)
CIE-LCHlch(25.12, 72.15, 301.77°)
OKLaboklab(37.04% 0.0077 -0.1775)
OKLCHoklch(37.04% 0.178 272.5)
XYZxyz(7.5791, 4.4530, 31.4641)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A9B #9B9827
analogous
#27649B #272A9B #5E279B
triadic
#272A9B #9B272A #2A9B27
tetradic
#272A9B #9B2764 #9B9827 #279B5E
square
#272A9B #9B2764 #9B9827 #279B5E
split-complementary
#272A9B #9B5E27 #649B27
monochromatic
#0E1039 #1B1D6A #272A9B #3337CC #6467D8

Accessibility & contrast

On white

11.11
#272A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#272A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A9B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A9B#FFFFFF#000000##FFFFFF
##272A9B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272a9b;
/* rgb */ color: rgb(39, 42, 155);
/* oklch */ color: oklch(37.0% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#272a9b',
    950: '#000000',
  },
}
SCSS
$custom: #272a9b;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272a9b",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 238.448,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37038,
    "c": 0.17764,
    "h": 272.5
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#272A9B
secondary
#BEBB60
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #272A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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