#272B73#272B73

#272B73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.122 H 275.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#272B73
RGBrgb(39, 43, 115)
HSLhsl(237, 49%, 30%)
HSVhsv(237, 66%, 45%)
CMYKcmyk(66.1%, 62.6%, 0%, 54.9%)
CIE-LABlab(21.57, 22.81, -42.11)
CIE-LCHlch(21.57, 47.90, 298.45°)
OKLaboklab(33.3% 0.011 -0.1212)
OKLCHoklch(33.3% 0.122 275.2)
XYZxyz(4.7941, 3.3965, 16.6193)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B73 #736F27
analogous
#275173 #272B73 #492773
triadic
#272B73 #73272B #2B7327
tetradic
#272B73 #732751 #736F27 #277349
square
#272B73 #732751 #736F27 #277349
split-complementary
#272B73 #734927 #517327
monochromatic
#080918 #181A45 #272B73 #363CA1 #5157C4

Accessibility & contrast

On white

12.50
#272B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#272B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B73
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B73#FFFFFF#000000##FFFFFF
##272B731.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272b73;
/* rgb */ color: rgb(39, 43, 115);
/* oklch */ color: oklch(33.3% 0.122 275.2);
Tailwind
colors: {
  custom: {
    50: '#6b649c',
    500: '#272b73',
    950: '#000000',
  },
}
SCSS
$custom: #272b73;
$custom-light: #6b649c;
$custom-dark: #000000;
JSON
{
  "hex": "#272b73",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 236.842,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.333,
    "c": 0.1217,
    "h": 275.2
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#272B73
secondary
#A5A150
accent
#D24FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #272B73

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

Preview Lab → · Contrast checker → · Palette generator →

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