#272B9B#272B9B

#272B9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.177 H 272.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#272B9B
RGBrgb(39, 43, 155)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 61%)
CMYKcmyk(74.8%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.34, 37.38, -60.97)
CIE-LCHlch(25.34, 71.52, 301.51°)
OKLaboklab(37.2% 0.0072 -0.1764)
OKLCHoklch(37.2% 0.177 272.3)
XYZxyz(7.6150, 4.5249, 31.4761)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B9B #9B9727
analogous
#27659B #272B9B #5D279B
triadic
#272B9B #9B272B #2B9B27
tetradic
#272B9B #9B2765 #9B9727 #279B5D
square
#272B9B #9B2765 #9B9727 #279B5D
split-complementary
#272B9B #9B5D27 #659B27
monochromatic
#0E1039 #1B1D6A #272B9B #3339CC #6468D8

Accessibility & contrast

On white

11.02
#272B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B9B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B9B#FFFFFF#000000##FFFFFF
##272B9B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b9b;
/* rgb */ color: rgb(39, 43, 155);
/* oklch */ color: oklch(37.2% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#7465ba',
    500: '#272b9b',
    950: '#000000',
  },
}
SCSS
$custom: #272b9b;
$custom-light: #7465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272b9b",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 237.931,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.17657,
    "h": 272.3
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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