#272E86#272E86

#272E86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.145 H 273.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#272E86
RGBrgb(39, 46, 134)
HSLhsl(236, 55%, 34%)
HSVhsv(236, 71%, 53%)
CMYKcmyk(70.9%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.02, 27.86, -50.15)
CIE-LCHlch(24.02, 57.37, 299.05°)
OKLaboklab(35.62% 0.0075 -0.1448)
OKLCHoklch(35.62% 0.145 273)
XYZxyz(6.1153, 4.1060, 23.0199)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E86 #867F27
analogous
#275E86 #272E86 #502786
triadic
#272E86 #86272E #2E8627
tetradic
#272E86 #86275E #867F27 #278650
square
#272E86 #86275E #867F27 #278650
split-complementary
#272E86 #865027 #5E8627
monochromatic
#0B0D27 #191E57 #272E86 #353EB5 #5961CF

Accessibility & contrast

On white

11.53
#272E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E86
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E86#FFFFFF#000000##FFFFFF
##272E861.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272e86;
/* rgb */ color: rgb(39, 46, 134);
/* oklch */ color: oklch(35.6% 0.145 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f67aa',
    500: '#272e86',
    950: '#000000',
  },
}
SCSS
$custom: #272e86;
$custom-light: #6f67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#272e86",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 235.579,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.14496,
    "h": 273
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#272E86
secondary
#B4AD55
accent
#D34ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272E86

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

Preview Lab → · Contrast checker → · Palette generator →

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