#272B97#272B97

#272B97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.171 H 272.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#272B97
RGBrgb(39, 43, 151)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 59%)
CMYKcmyk(74.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.93, 35.97, -59.19)
CIE-LCHlch(24.93, 69.26, 301.28°)
OKLaboklab(36.78% 0.0078 -0.1712)
OKLCHoklch(36.78% 0.171 272.6)
XYZxyz(7.2846, 4.3927, 29.7361)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B97 #979327
analogous
#276397 #272B97 #5B2797
triadic
#272B97 #97272B #2B9727
tetradic
#272B97 #972763 #979327 #27975B
square
#272B97 #972763 #979327 #27975B
split-complementary
#272B97 #975B27 #639727
monochromatic
#0E0F36 #1A1D66 #272B97 #3439C8 #6266D6

Accessibility & contrast

On white

11.18
#272B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B97
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B97#FFFFFF#000000##FFFFFF
##272B971.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272b97;
/* rgb */ color: rgb(39, 43, 151);
/* oklch */ color: oklch(36.8% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#7365b7',
    500: '#272b97',
    950: '#000000',
  },
}
SCSS
$custom: #272b97;
$custom-light: #7365b7;
$custom-dark: #000000;
JSON
{
  "hex": "#272b97",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 237.857,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.1714,
    "h": 272.6
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#272B97
secondary
#BCB95E
accent
#DD46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B97

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

Preview Lab → · Contrast checker → · Palette generator →

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