#272E79#272E79

#272E79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.126 H 273.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#272E79
RGBrgb(39, 46, 121)
HSLhsl(235, 51%, 31%)
HSVhsv(235, 68%, 47%)
CMYKcmyk(67.8%, 62%, 0%, 52.5%)
CIE-LABlab(22.88, 23.00, -43.81)
CIE-LCHlch(22.88, 49.48, 297.70°)
OKLaboklab(34.43% 0.0081 -0.1262)
OKLCHoklch(34.43% 0.126 273.7)
XYZxyz(5.2637, 3.7653, 18.5348)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E79 #797227
analogous
#275779 #272E79 #492779
triadic
#272E79 #79272E #2E7927
tetradic
#272E79 #792757 #797227 #277949
square
#272E79 #792757 #797227 #277949
split-complementary
#272E79 #794927 #577927
monochromatic
#090B1C #181C4B #272E79 #3640A7 #535DC8

Accessibility & contrast

On white

11.98
#272E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272E79
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E79#FFFFFF#000000##FFFFFF
##272E791.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272e79;
/* rgb */ color: rgb(39, 46, 121);
/* oklch */ color: oklch(34.4% 0.126 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c66a0',
    500: '#272e79',
    950: '#000000',
  },
}
SCSS
$custom: #272e79;
$custom-light: #6c66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#272e79",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 234.878,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.12641,
    "h": 273.7
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#272E79
secondary
#ABA351
accent
#CF4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #272E79

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

Preview Lab → · Contrast checker → · Palette generator →

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