#272F8D#272F8D

#272F8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.153 H 272.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#272F8D
RGBrgb(39, 47, 141)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 72%, 55%)
CMYKcmyk(72.3%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.91, 29.79, -53.05)
CIE-LCHlch(24.91, 60.84, 299.31°)
OKLaboklab(36.47% 0.0063 -0.1532)
OKLCHoklch(36.47% 0.153 272.4)
XYZxyz(6.6593, 4.3868, 25.6899)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F8D #8D8527
analogous
#27628D #272F8D #52278D
triadic
#272F8D #8D272F #2F8D27
tetradic
#272F8D #8D2762 #8D8527 #278D52
square
#272F8D #8D2762 #8D8527 #278D52
split-complementary
#272F8D #8D5227 #628D27
monochromatic
#0C0F2D #1A1F5D #272F8D #343FBD #5C66D2

Accessibility & contrast

On white

11.19
#272F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F8D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F8D#FFFFFF#000000##FFFFFF
##272F8D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272f8d;
/* rgb */ color: rgb(39, 47, 141);
/* oklch */ color: oklch(36.5% 0.153 272.4);
Tailwind
colors: {
  custom: {
    50: '#7067af',
    500: '#272f8d',
    950: '#000000',
  },
}
SCSS
$custom: #272f8d;
$custom-light: #7067af;
$custom-dark: #000000;
JSON
{
  "hex": "#272f8d",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 235.294,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.15338,
    "h": 272.4
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#272F8D
secondary
#B7B059
accent
#D448E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #272F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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