#272B8A#272B8A

#272B8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.154 H 273.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#272B8A
RGBrgb(39, 43, 138)
HSLhsl(238, 56%, 35%)
HSVhsv(238, 72%, 54%)
CMYKcmyk(71.7%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.65, 31.30, -53.25)
CIE-LCHlch(23.65, 61.77, 300.45°)
OKLaboklab(35.47% 0.0094 -0.1539)
OKLCHoklch(35.47% 0.154 273.5)
XYZxyz(6.2865, 3.9935, 24.4793)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B8A #8A8627
analogous
#275C8A #272B8A #55278A
triadic
#272B8A #8A272B #2B8A27
tetradic
#272B8A #8A275C #8A8627 #278A55
square
#272B8A #8A275C #8A8627 #278A55
split-complementary
#272B8A #8A5527 #5C8A27
monochromatic
#0C0D2B #1A1C5A #272B8A #343ABA #5B60D1

Accessibility & contrast

On white

11.67
#272B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B8A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B8A#FFFFFF#000000##FFFFFF
##272B8A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272b8a;
/* rgb */ color: rgb(39, 43, 138);
/* oklch */ color: oklch(35.5% 0.154 273.5);
Tailwind
colors: {
  custom: {
    50: '#7065ad',
    500: '#272b8a',
    950: '#000000',
  },
}
SCSS
$custom: #272b8a;
$custom-light: #7065ad;
$custom-dark: #000000;
JSON
{
  "hex": "#272b8a",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 237.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35469,
    "c": 0.15415,
    "h": 273.5
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#272B8A
secondary
#B6B257
accent
#D949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #272B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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