#273084#273084

#273084 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.140 H 272.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#273084
RGBrgb(39, 48, 132)
HSLhsl(234, 54%, 34%)
HSVhsv(234, 70%, 52%)
CMYKcmyk(70.5%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.36, 25.77, -48.34)
CIE-LCHlch(24.36, 54.78, 298.06°)
OKLaboklab(35.82% 0.006 -0.1394)
OKLCHoklch(35.82% 0.14 272.5)
XYZxyz(6.0571, 4.2106, 22.3188)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273084 #847B27
analogous
#275E84 #273084 #4C2784
triadic
#273084 #842730 #308427
tetradic
#273084 #84275E #847B27 #27844C
square
#273084 #84275E #847B27 #27844C
split-complementary
#273084 #844C27 #5E8427
monochromatic
#0B0E26 #191F55 #273084 #3541B3 #5863CE

Accessibility & contrast

On white

11.40
#273084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#273084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273084
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273084#FFFFFF#000000##FFFFFF
##2730841.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #273084;
/* rgb */ color: rgb(39, 48, 132);
/* oklch */ color: oklch(35.8% 0.140 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e68a9',
    500: '#273084',
    950: '#000000',
  },
}
SCSS
$custom: #273084;
$custom-light: #6e68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273084",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 234.194,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35816,
    "c": 0.13958,
    "h": 272.5
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#273084
secondary
#B2A954
accent
#CF4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273084

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

Preview Lab → · Contrast checker → · Palette generator →

#273084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva