#273891#273891

#273891 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.148 H 269.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#273891
RGBrgb(39, 56, 145)
HSLhsl(230, 58%, 36%)
HSVhsv(230, 73%, 57%)
CMYKcmyk(73.1%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.58, 25.26, -51.15)
CIE-LCHlch(27.58, 57.05, 296.28°)
OKLaboklab(38.55% -0.0006 -0.1476)
OKLCHoklch(38.55% 0.148 269.8)
XYZxyz(7.3600, 5.3033, 27.4183)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273891 #918027
analogous
#276D91 #273891 #4B2791
triadic
#273891 #912738 #389127
tetradic
#273891 #91276D #918027 #27914B
square
#273891 #91276D #918027 #27914B
split-complementary
#273891 #914B27 #6D9127
monochromatic
#0D1331 #1A2561 #273891 #344BC1 #5F71D4

Accessibility & contrast

On white

10.19
#273891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273891
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273891#FFFFFF#000000##FFFFFF
##2738911.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273891;
/* rgb */ color: rgb(39, 56, 145);
/* oklch */ color: oklch(38.6% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#716eb2',
    500: '#273891',
    950: '#000000',
  },
}
SCSS
$custom: #273891;
$custom-light: #716eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#273891",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 230.377,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38551,
    "c": 0.14762,
    "h": 269.8
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#273891
secondary
#B9AA5B
accent
#C847E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273891

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

Preview Lab → · Contrast checker → · Palette generator →

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