#272D8F#272D8F

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

Color values

HEX#272D8F
RGBrgb(39, 45, 143)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(72.7%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.61, 31.82, -54.78)
CIE-LCHlch(24.61, 63.36, 300.15°)
OKLaboklab(36.31% 0.0075 -0.1583)
OKLCHoklch(36.31% 0.159 272.7)
XYZxyz(6.7313, 4.2906, 26.4547)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D8F #8F8927
analogous
#27618F #272D8F #55278F
triadic
#272D8F #8F272D #2D8F27
tetradic
#272D8F #8F2761 #8F8927 #278F55
square
#272D8F #8F2761 #8F8927 #278F55
split-complementary
#272D8F #8F5527 #618F27
monochromatic
#0D0F2F #1A1E5F #272D8F #343CBF #5D64D3

Accessibility & contrast

On white

11.30
#272D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272D8F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D8F#FFFFFF#000000##FFFFFF
##272D8F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272d8f;
/* rgb */ color: rgb(39, 45, 143);
/* oklch */ color: oklch(36.3% 0.159 272.7);
Tailwind
colors: {
  custom: {
    50: '#7166b1',
    500: '#272d8f',
    950: '#000000',
  },
}
SCSS
$custom: #272d8f;
$custom-light: #7166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272d8f",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 236.538,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36312,
    "c": 0.15852,
    "h": 272.7
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#272D8F
secondary
#B8B35A
accent
#D847E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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