#272E7E#272E7E

#272E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.134 H 273.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#272E7E
RGBrgb(39, 46, 126)
HSLhsl(235, 53%, 32%)
HSVhsv(235, 69%, 49%)
CMYKcmyk(69%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.31, 24.88, -46.28)
CIE-LCHlch(23.31, 52.54, 298.26°)
OKLaboklab(34.88% 0.0079 -0.1334)
OKLCHoklch(34.88% 0.134 273.4)
XYZxyz(5.5783, 3.8912, 20.1917)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E7E #7E7727
analogous
#275A7E #272E7E #4B277E
triadic
#272E7E #7E272E #2E7E27
tetradic
#272E7E #7E275A #7E7727 #277E4B
square
#272E7E #7E275A #7E7727 #277E4B
split-complementary
#272E7E #7E4B27 #5A7E27
monochromatic
#0A0C21 #191D4F #272E7E #353FAD #555ECA

Accessibility & contrast

On white

11.81
#272E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#272E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E7E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E7E#FFFFFF#000000##FFFFFF
##272E7E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272e7e;
/* rgb */ color: rgb(39, 46, 126);
/* oklch */ color: oklch(34.9% 0.134 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d66a4',
    500: '#272e7e',
    950: '#000000',
  },
}
SCSS
$custom: #272e7e;
$custom-light: #6d66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#272e7e",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 235.172,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34881,
    "c": 0.13365,
    "h": 273.4
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#272E7E
secondary
#AFA852
accent
#D14CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #272E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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