#272E8A#272E8A

#272E8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.150 H 272.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#272E8A
RGBrgb(39, 46, 138)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 54%)
CMYKcmyk(71.7%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.38, 29.34, -52.05)
CIE-LCHlch(24.38, 59.74, 299.41°)
OKLaboklab(36% 0.0073 -0.1503)
OKLCHoklch(36% 0.15 272.8)
XYZxyz(6.3996, 4.2197, 24.5170)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E8A #8A8327
analogous
#275F8A #272E8A #52278A
triadic
#272E8A #8A272E #2E8A27
tetradic
#272E8A #8A275F #8A8327 #278A52
square
#272E8A #8A275F #8A8327 #278A52
split-complementary
#272E8A #8A5227 #5F8A27
monochromatic
#0C0E2B #1A1E5A #272E8A #343EBA #5B63D1

Accessibility & contrast

On white

11.39
#272E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#272E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E8A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E8A#FFFFFF#000000##FFFFFF
##272E8A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272e8a;
/* rgb */ color: rgb(39, 46, 138);
/* oklch */ color: oklch(36.0% 0.150 272.8);
Tailwind
colors: {
  custom: {
    50: '#7067ad',
    500: '#272e8a',
    950: '#000000',
  },
}
SCSS
$custom: #272e8a;
$custom-light: #7067ad;
$custom-dark: #000000;
JSON
{
  "hex": "#272e8a",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 235.758,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.15049,
    "h": 272.8
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#272E8A
secondary
#B6AF57
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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