#272E8D#272E8D

#272E8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.155 H 272.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#272E8D
RGBrgb(39, 46, 141)
HSLhsl(236, 57%, 35%)
HSVhsv(236, 72%, 55%)
CMYKcmyk(72.3%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.66, 30.44, -53.45)
CIE-LCHlch(24.66, 61.51, 299.66°)
OKLaboklab(36.29% 0.007 -0.1544)
OKLCHoklch(36.29% 0.155 272.6)
XYZxyz(6.6198, 4.3078, 25.6768)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E8D #8D8627
analogous
#27618D #272E8D #53278D
triadic
#272E8D #8D272E #2E8D27
tetradic
#272E8D #8D2761 #8D8627 #278D53
square
#272E8D #8D2761 #8D8627 #278D53
split-complementary
#272E8D #8D5327 #618D27
monochromatic
#0C0F2D #1A1E5D #272E8D #343EBD #5C64D2

Accessibility & contrast

On white

11.28
#272E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#272E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E8D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E8D#FFFFFF#000000##FFFFFF
##272E8D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272e8d;
/* rgb */ color: rgb(39, 46, 141);
/* oklch */ color: oklch(36.3% 0.155 272.6);
Tailwind
colors: {
  custom: {
    50: '#7067af',
    500: '#272e8d',
    950: '#000000',
  },
}
SCSS
$custom: #272e8d;
$custom-light: #7067af;
$custom-dark: #000000;
JSON
{
  "hex": "#272e8d",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 235.882,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36293,
    "c": 0.1546,
    "h": 272.6
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#272E8D
secondary
#B7B159
accent
#D648E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #272E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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