#272E8B#272E8B

#272E8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.152 H 272.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#272E8B
RGBrgb(39, 46, 139)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 55%)
CMYKcmyk(71.9%, 66.9%, 0%, 45.5%)
CIE-LABlab(24.48, 29.71, -52.52)
CIE-LCHlch(24.48, 60.34, 299.50°)
OKLaboklab(36.1% 0.0072 -0.1517)
OKLCHoklch(36.1% 0.152 272.7)
XYZxyz(6.4723, 4.2488, 24.9001)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E8B #8B8427
analogous
#27608B #272E8B #52278B
triadic
#272E8B #8B272E #2E8B27
tetradic
#272E8B #8B2760 #8B8427 #278B52
square
#272E8B #8B2760 #8B8427 #278B52
split-complementary
#272E8B #8B5227 #608B27
monochromatic
#0C0E2B #1A1E5B #272E8B #343EBB #5B64D1

Accessibility & contrast

On white

11.35
#272E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E8B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E8B#FFFFFF#000000##FFFFFF
##272E8B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272e8b;
/* rgb */ color: rgb(39, 46, 139);
/* oklch */ color: oklch(36.1% 0.152 272.7);
Tailwind
colors: {
  custom: {
    50: '#7067ae',
    500: '#272e8b',
    950: '#000000',
  },
}
SCSS
$custom: #272e8b;
$custom-light: #7067ae;
$custom-dark: #000000;
JSON
{
  "hex": "#272e8b",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 235.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.361,
    "c": 0.15187,
    "h": 272.7
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#272E8B
secondary
#B6B058
accent
#D548DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #272E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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