#273487#273487

#273487 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.139 H 271.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#273487
RGBrgb(39, 52, 135)
HSLhsl(232, 55%, 34%)
HSVhsv(232, 71%, 53%)
CMYKcmyk(71.1%, 61.5%, 0%, 47.1%)
CIE-LABlab(25.67, 24.18, -48.07)
CIE-LCHlch(25.67, 53.81, 296.70°)
OKLaboklab(36.87% 0.0027 -0.1386)
OKLCHoklch(36.87% 0.139 271.1)
XYZxyz(6.4364, 4.6360, 23.4726)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273487 #877A27
analogous
#276487 #273487 #4A2787
triadic
#273487 #872734 #348727
tetradic
#273487 #872764 #877A27 #27874A
square
#273487 #872764 #877A27 #27874A
split-complementary
#273487 #874A27 #648727
monochromatic
#0C0F28 #192258 #273487 #3546B6 #5969CF

Accessibility & contrast

On white

10.90
#273487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273487
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273487#FFFFFF#000000##FFFFFF
##2734871.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273487;
/* rgb */ color: rgb(39, 52, 135);
/* oklch */ color: oklch(36.9% 0.139 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f6bab',
    500: '#273487',
    950: '#000000',
  },
}
SCSS
$custom: #273487;
$custom-light: #6f6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#273487",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 231.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.13865,
    "h": 271.1
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#273487
secondary
#B4A756
accent
#CA49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273487

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

Preview Lab → · Contrast checker → · Palette generator →

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