#272E75#272E75

#272E75 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.121 H 273.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#272E75
RGBrgb(39, 46, 117)
HSLhsl(235, 50%, 31%)
HSVhsv(235, 67%, 46%)
CMYKcmyk(66.7%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.55, 21.49, -41.80)
CIE-LCHlch(22.55, 47.00, 297.21°)
OKLaboklab(34.08% 0.0081 -0.1202)
OKLCHoklch(34.08% 0.121 273.8)
XYZxyz(5.0235, 3.6693, 17.2697)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E75 #756E27
analogous
#275575 #272E75 #472775
triadic
#272E75 #75272E #2E7527
tetradic
#272E75 #752755 #756E27 #277547
square
#272E75 #752755 #756E27 #277547
split-complementary
#272E75 #754727 #557527
monochromatic
#080A19 #181C47 #272E75 #3640A3 #515CC5

Accessibility & contrast

On white

12.11
#272E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E75
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E75#FFFFFF#000000##FFFFFF
##272E751.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272e75;
/* rgb */ color: rgb(39, 46, 117);
/* oklch */ color: oklch(34.1% 0.121 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b669d',
    500: '#272e75',
    950: '#000000',
  },
}
SCSS
$custom: #272e75;
$custom-light: #6b669d;
$custom-dark: #000000;
JSON
{
  "hex": "#272e75",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 234.615,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34078,
    "c": 0.12052,
    "h": 273.8
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#272E75
secondary
#A79F51
accent
#CD4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272E75

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

Preview Lab → · Contrast checker → · Palette generator →

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