#272B89#272B89

#272B89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.153 H 273.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#272B89
RGBrgb(39, 43, 137)
HSLhsl(238, 56%, 35%)
HSVhsv(238, 72%, 54%)
CMYKcmyk(71.5%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.55, 30.94, -52.78)
CIE-LCHlch(23.55, 61.18, 300.38°)
OKLaboklab(35.37% 0.0095 -0.1525)
OKLCHoklch(35.37% 0.153 273.6)
XYZxyz(6.2144, 3.9646, 24.0998)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B89 #898527
analogous
#275C89 #272B89 #542789
triadic
#272B89 #89272B #2B8927
tetradic
#272B89 #89275C #898527 #278954
square
#272B89 #89275C #898527 #278954
split-complementary
#272B89 #895427 #5C8927
monochromatic
#0C0D2A #191C59 #272B89 #353AB9 #5A5FD0

Accessibility & contrast

On white

11.71
#272B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B89
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B89#FFFFFF#000000##FFFFFF
##272B891.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b89;
/* rgb */ color: rgb(39, 43, 137);
/* oklch */ color: oklch(35.4% 0.153 273.6);
Tailwind
colors: {
  custom: {
    50: '#7064ac',
    500: '#272b89',
    950: '#000000',
  },
}
SCSS
$custom: #272b89;
$custom-light: #7064ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272b89",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 237.551,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.1528,
    "h": 273.6
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#272B89
secondary
#B5B157
accent
#D949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272B89

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

Preview Lab → · Contrast checker → · Palette generator →

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