#272E7F#272E7F

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

Color values

HEX#272E7F
RGBrgb(39, 46, 127)
HSLhsl(235, 53%, 33%)
HSVhsv(235, 69%, 50%)
CMYKcmyk(69.3%, 63.8%, 0%, 50.2%)
CIE-LABlab(23.40, 25.25, -46.77)
CIE-LCHlch(23.40, 53.15, 298.37°)
OKLaboklab(34.97% 0.0079 -0.1348)
OKLCHoklch(34.97% 0.135 273.4)
XYZxyz(5.6432, 3.9171, 20.5332)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E7F #7F7827
analogous
#275A7F #272E7F #4C277F
triadic
#272E7F #7F272E #2E7F27
tetradic
#272E7F #7F275A #7F7827 #277F4C
square
#272E7F #7F275A #7F7827 #277F4C
split-complementary
#272E7F #7F4C27 #5A7F27
monochromatic
#0A0C21 #191D50 #272E7F #353FAE #555FCB

Accessibility & contrast

On white

11.77
#272E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272E7F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E7F#FFFFFF#000000##FFFFFF
##272E7F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272e7f;
/* rgb */ color: rgb(39, 46, 127);
/* oklch */ color: oklch(35.0% 0.135 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d66a5',
    500: '#272e7f',
    950: '#000000',
  },
}
SCSS
$custom: #272e7f;
$custom-light: #6d66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#272e7f",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 235.227,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.13507,
    "h": 273.4
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#272E7F
secondary
#B0A852
accent
#D14BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #272E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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