#272B8B#272B8B

#272B8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.155 H 273.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#272B8B
RGBrgb(39, 43, 139)
HSLhsl(238, 56%, 35%)
HSVhsv(238, 72%, 55%)
CMYKcmyk(71.9%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.75, 31.66, -53.72)
CIE-LCHlch(23.75, 62.35, 300.52°)
OKLaboklab(35.57% 0.0093 -0.1552)
OKLCHoklch(35.57% 0.156 273.4)
XYZxyz(6.3592, 4.0226, 24.8624)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B8B #8B8727
analogous
#275D8B #272B8B #55278B
triadic
#272B8B #8B272B #2B8B27
tetradic
#272B8B #8B275D #8B8727 #278B55
square
#272B8B #8B275D #8B8727 #278B55
split-complementary
#272B8B #8B5527 #5D8B27
monochromatic
#0C0D2B #1A1C5B #272B8B #343ABB #5B60D1

Accessibility & contrast

On white

11.64
#272B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B8B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B8B#FFFFFF#000000##FFFFFF
##272B8B1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272b8b;
/* rgb */ color: rgb(39, 43, 139);
/* oklch */ color: oklch(35.6% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#7065ae',
    500: '#272b8b',
    950: '#000000',
  },
}
SCSS
$custom: #272b8b;
$custom-light: #7065ae;
$custom-dark: #000000;
JSON
{
  "hex": "#272b8b",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 237.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35568,
    "c": 0.1555,
    "h": 273.4
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#272B8B
secondary
#B6B258
accent
#D948DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #272B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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