#272D85#272D85

#272D85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.145 H 273.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#272D85
RGBrgb(39, 45, 133)
HSLhsl(236, 55%, 34%)
HSVhsv(236, 71%, 52%)
CMYKcmyk(70.7%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.67, 28.16, -50.08)
CIE-LCHlch(23.67, 57.46, 299.34°)
OKLaboklab(35.34% 0.0084 -0.1446)
OKLCHoklch(35.34% 0.145 273.3)
XYZxyz(6.0073, 4.0010, 22.6414)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D85 #857F27
analogous
#275C85 #272D85 #502785
triadic
#272D85 #85272D #2D8527
tetradic
#272D85 #85275C #857F27 #278550
square
#272D85 #85275C #857F27 #278550
split-complementary
#272D85 #855027 #5C8527
monochromatic
#0B0D26 #191D56 #272D85 #353DB4 #5860CE

Accessibility & contrast

On white

11.66
#272D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D85
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D85#FFFFFF#000000##FFFFFF
##272D851.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272d85;
/* rgb */ color: rgb(39, 45, 133);
/* oklch */ color: oklch(35.3% 0.145 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f66a9',
    500: '#272d85',
    950: '#000000',
  },
}
SCSS
$custom: #272d85;
$custom-light: #6f66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272d85",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 236.17,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.14482,
    "h": 273.3
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#272D85
secondary
#B3AD55
accent
#D54ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272D85

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

Preview Lab → · Contrast checker → · Palette generator →

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