#273585#273585

#273585 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.134 H 270.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#273585
RGBrgb(39, 53, 133)
HSLhsl(231, 55%, 34%)
HSVhsv(231, 71%, 52%)
CMYKcmyk(70.7%, 60.2%, 0%, 47.8%)
CIE-LABlab(25.77, 22.74, -46.66)
CIE-LCHlch(25.77, 51.90, 295.98°)
OKLaboklab(36.89% 0.0018 -0.1344)
OKLCHoklch(36.89% 0.134 270.8)
XYZxyz(6.3420, 4.6704, 22.7530)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273585 #857727
analogous
#276485 #273585 #482785
triadic
#273585 #852735 #358527
tetradic
#273585 #852764 #857727 #278548
square
#273585 #852764 #857727 #278548
split-complementary
#273585 #854827 #648527
monochromatic
#0B0F26 #192256 #273585 #3548B4 #586ACE

Accessibility & contrast

On white

10.86
#273585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#273585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273585
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273585#FFFFFF#000000##FFFFFF
##2735851.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273585;
/* rgb */ color: rgb(39, 53, 133);
/* oklch */ color: oklch(36.9% 0.134 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e6ca9',
    500: '#273585',
    950: '#000000',
  },
}
SCSS
$custom: #273585;
$custom-light: #6e6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#273585",
  "rgb": {
    "r": 39,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 231.064,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36893,
    "c": 0.13446,
    "h": 270.8
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#273585
secondary
#B3A555
accent
#C84ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273585

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

Preview Lab → · Contrast checker → · Palette generator →

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