#272E7A#272E7A

#272E7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.128 H 273.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#272E7A
RGBrgb(39, 46, 122)
HSLhsl(235, 52%, 32%)
HSVhsv(235, 68%, 48%)
CMYKcmyk(68%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.96, 23.38, -44.31)
CIE-LCHlch(22.96, 50.09, 297.82°)
OKLaboklab(34.52% 0.0081 -0.1276)
OKLCHoklch(34.52% 0.128 273.6)
XYZxyz(5.3254, 3.7900, 18.8595)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E7A #7A7327
analogous
#27587A #272E7A #4A277A
triadic
#272E7A #7A272E #2E7A27
tetradic
#272E7A #7A2758 #7A7327 #277A4A
square
#272E7A #7A2758 #7A7327 #277A4A
split-complementary
#272E7A #7A4A27 #587A27
monochromatic
#090B1D #181D4C #272E7A #363FA8 #535DC8

Accessibility & contrast

On white

11.95
#272E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#272E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E7A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E7A#FFFFFF#000000##FFFFFF
##272E7A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272e7a;
/* rgb */ color: rgb(39, 46, 122);
/* oklch */ color: oklch(34.5% 0.128 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c66a1',
    500: '#272e7a',
    950: '#000000',
  },
}
SCSS
$custom: #272e7a;
$custom-light: #6c66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#272e7a",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 234.94,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.12786,
    "h": 273.6
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#272E7A
secondary
#ACA451
accent
#CF4DDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #272E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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