#272B99#272B99

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

Color values

HEX#272B99
RGBrgb(39, 43, 153)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(74.5%, 71.9%, 0%, 40%)
CIE-LABlab(25.13, 36.67, -60.09)
CIE-LCHlch(25.13, 70.39, 301.40°)
OKLaboklab(36.99% 0.0075 -0.1738)
OKLCHoklch(36.99% 0.174 272.5)
XYZxyz(7.4484, 4.4582, 30.5988)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B99 #999527
analogous
#276499 #272B99 #5C2799
triadic
#272B99 #99272B #2B9927
tetradic
#272B99 #992764 #999527 #27995C
square
#272B99 #992764 #999527 #27995C
split-complementary
#272B99 #995C27 #649927
monochromatic
#0E1037 #1B1D68 #272B99 #3339CA #6367D7

Accessibility & contrast

On white

11.10
#272B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B99
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B99#FFFFFF#000000##FFFFFF
##272B991.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272b99;
/* rgb */ color: rgb(39, 43, 153);
/* oklch */ color: oklch(37.0% 0.174 272.5);
Tailwind
colors: {
  custom: {
    50: '#7465b8',
    500: '#272b99',
    950: '#000000',
  },
}
SCSS
$custom: #272b99;
$custom-light: #7465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272b99",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 237.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36988,
    "c": 0.17399,
    "h": 272.5
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#272B99
secondary
#BDBA5F
accent
#DD45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272B99

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

Preview Lab → · Contrast checker → · Palette generator →

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