#273284#273284

#273284 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.137 H 271.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#273284
RGBrgb(39, 50, 132)
HSLhsl(233, 54%, 34%)
HSVhsv(233, 70%, 52%)
CMYKcmyk(70.5%, 62.1%, 0%, 48.2%)
CIE-LABlab(24.88, 24.41, -47.48)
CIE-LCHlch(24.88, 53.39, 297.21°)
OKLaboklab(36.21% 0.0044 -0.1369)
OKLCHoklch(36.21% 0.137 271.8)
XYZxyz(6.1408, 4.3779, 22.3467)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273284 #847927
analogous
#276084 #273284 #4A2784
triadic
#273284 #842732 #328427
tetradic
#273284 #842760 #847927 #27844A
square
#273284 #842760 #847927 #27844A
split-complementary
#273284 #844A27 #608427
monochromatic
#0B0E26 #192055 #273284 #3544B3 #5866CE

Accessibility & contrast

On white

11.20
#273284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#273284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273284
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273284#FFFFFF#000000##FFFFFF
##2732841.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273284;
/* rgb */ color: rgb(39, 50, 132);
/* oklch */ color: oklch(36.2% 0.137 271.8);
Tailwind
colors: {
  custom: {
    50: '#6e69a8',
    500: '#273284',
    950: '#000000',
  },
}
SCSS
$custom: #273284;
$custom-light: #6e69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#273284",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 232.903,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.13698,
    "h": 271.8
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#273284
secondary
#B2A754
accent
#CC4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273284

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

Preview Lab → · Contrast checker → · Palette generator →

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