#272D8B#272D8B

#272D8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.153 H 273.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#272D8B
RGBrgb(39, 45, 139)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 55%)
CMYKcmyk(71.9%, 67.6%, 0%, 45.5%)
CIE-LABlab(24.23, 30.36, -52.92)
CIE-LCHlch(24.23, 61.01, 299.85°)
OKLaboklab(35.92% 0.0079 -0.1529)
OKLCHoklch(35.92% 0.153 273)
XYZxyz(6.4337, 4.1716, 24.8872)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D8B #8B8527
analogous
#275F8B #272D8B #53278B
triadic
#272D8B #8B272D #2D8B27
tetradic
#272D8B #8B275F #8B8527 #278B53
square
#272D8B #8B275F #8B8527 #278B53
split-complementary
#272D8B #8B5327 #5F8B27
monochromatic
#0C0E2B #1A1E5B #272D8B #343CBB #5B62D1

Accessibility & contrast

On white

11.45
#272D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D8B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D8B#FFFFFF#000000##FFFFFF
##272D8B1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272d8b;
/* rgb */ color: rgb(39, 45, 139);
/* oklch */ color: oklch(35.9% 0.153 273.0);
Tailwind
colors: {
  custom: {
    50: '#7066ae',
    500: '#272d8b',
    950: '#000000',
  },
}
SCSS
$custom: #272d8b;
$custom-light: #7066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#272d8b",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 236.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3592,
    "c": 0.15309,
    "h": 273
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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