#273282#273282

#273282 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.134 H 271.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#273282
RGBrgb(39, 50, 130)
HSLhsl(233, 54%, 33%)
HSVhsv(233, 70%, 51%)
CMYKcmyk(70%, 61.5%, 0%, 49%)
CIE-LABlab(24.71, 23.65, -46.51)
CIE-LCHlch(24.71, 52.18, 296.96°)
OKLaboklab(36.03% 0.0044 -0.134)
OKLCHoklch(36.03% 0.134 271.9)
XYZxyz(6.0052, 4.3237, 21.6328)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273282 #827727
analogous
#275F82 #273282 #492782
triadic
#273282 #822732 #328227
tetradic
#273282 #82275F #827727 #278249
square
#273282 #82275F #827727 #278249
split-complementary
#273282 #824927 #5F8227
monochromatic
#0B0E24 #192053 #273282 #3544B1 #5765CD

Accessibility & contrast

On white

11.26
#273282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#273282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273282
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273282#FFFFFF#000000##FFFFFF
##2732821.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273282;
/* rgb */ color: rgb(39, 50, 130);
/* oklch */ color: oklch(36.0% 0.134 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e69a7',
    500: '#273282',
    950: '#000000',
  },
}
SCSS
$custom: #273282;
$custom-light: #6e69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#273282",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 232.747,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.13411,
    "h": 271.9
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#273282
secondary
#B1A653
accent
#CB4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #273282

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

Preview Lab → · Contrast checker → · Palette generator →

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