#272F73#272F73

#272F73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.116 H 273.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#272F73
RGBrgb(39, 47, 115)
HSLhsl(234, 49%, 30%)
HSVhsv(234, 66%, 45%)
CMYKcmyk(66.1%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.66, 20.04, -40.34)
CIE-LCHlch(22.66, 45.04, 296.42°)
OKLaboklab(34.11% 0.0071 -0.1159)
OKLCHoklch(34.11% 0.116 273.5)
XYZxyz(4.9467, 3.7018, 16.6702)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F73 #736B27
analogous
#275573 #272F73 #452773
triadic
#272F73 #73272F #2F7327
tetradic
#272F73 #732755 #736B27 #277345
square
#272F73 #732755 #736B27 #277345
split-complementary
#272F73 #734527 #557327
monochromatic
#080A18 #181C45 #272F73 #3642A1 #515DC4

Accessibility & contrast

On white

12.07
#272F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F73
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F73#FFFFFF#000000##FFFFFF
##272F731.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272f73;
/* rgb */ color: rgb(39, 47, 115);
/* oklch */ color: oklch(34.1% 0.116 273.5);
Tailwind
colors: {
  custom: {
    50: '#6a679c',
    500: '#272f73',
    950: '#000000',
  },
}
SCSS
$custom: #272f73;
$custom-light: #6a679c;
$custom-dark: #000000;
JSON
{
  "hex": "#272f73",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 233.684,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34111,
    "c": 0.11615,
    "h": 273.5
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#272F73
secondary
#A59C50
accent
#CA4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272F73

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

Preview Lab → · Contrast checker → · Palette generator →

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