#273587#273587

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

Color values

HEX#273587
RGBrgb(39, 53, 135)
HSLhsl(231, 55%, 34%)
HSVhsv(231, 71%, 53%)
CMYKcmyk(71.1%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.94, 23.50, -47.64)
CIE-LCHlch(25.94, 53.12, 296.26°)
OKLaboklab(37.07% 0.0018 -0.1373)
OKLCHoklch(37.07% 0.137 270.8)
XYZxyz(6.4815, 4.7262, 23.4876)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273587 #877927
analogous
#276587 #273587 #492787
triadic
#273587 #872735 #358727
tetradic
#273587 #872765 #877927 #278749
square
#273587 #872765 #877927 #278749
split-complementary
#273587 #874927 #658727
monochromatic
#0C1028 #192258 #273587 #3548B6 #596ACF

Accessibility & contrast

On white

10.79
#273587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#273587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273587
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273587#FFFFFF#000000##FFFFFF
##2735871.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273587;
/* rgb */ color: rgb(39, 53, 135);
/* oklch */ color: oklch(37.1% 0.137 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e6cab',
    500: '#273587',
    950: '#000000',
  },
}
SCSS
$custom: #273587;
$custom-light: #6e6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#273587",
  "rgb": {
    "r": 39,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 231.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37069,
    "c": 0.13733,
    "h": 270.8
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#273587
secondary
#B4A656
accent
#C949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273587

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

Preview Lab → · Contrast checker → · Palette generator →

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