#272F75#272F75

#272F75 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.119 H 273.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#272F75
RGBrgb(39, 47, 117)
HSLhsl(234, 50%, 31%)
HSVhsv(234, 67%, 46%)
CMYKcmyk(66.7%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.82, 20.80, -41.36)
CIE-LCHlch(22.82, 46.29, 296.70°)
OKLaboklab(34.28% 0.0071 -0.1189)
OKLCHoklch(34.28% 0.119 273.4)
XYZxyz(5.0630, 3.7483, 17.2829)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F75 #756D27
analogous
#275675 #272F75 #462775
triadic
#272F75 #75272F #2F7527
tetradic
#272F75 #752756 #756D27 #277546
square
#272F75 #752756 #756D27 #277546
split-complementary
#272F75 #754627 #567527
monochromatic
#080A19 #181D47 #272F75 #3641A3 #515DC5

Accessibility & contrast

On white

12.00
#272F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F75
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F75#FFFFFF#000000##FFFFFF
##272F751.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272f75;
/* rgb */ color: rgb(39, 47, 117);
/* oklch */ color: oklch(34.3% 0.119 273.4);
Tailwind
colors: {
  custom: {
    50: '#6b679d',
    500: '#272f75',
    950: '#000000',
  },
}
SCSS
$custom: #272f75;
$custom-light: #6b679d;
$custom-dark: #000000;
JSON
{
  "hex": "#272f75",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 233.846,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34283,
    "c": 0.11914,
    "h": 273.4
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#272F75
secondary
#A79E51
accent
#CB4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272F75

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

Preview Lab → · Contrast checker → · Palette generator →

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