#273894#273894

#273894 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.152 H 269.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#273894
RGBrgb(39, 56, 148)
HSLhsl(231, 58%, 37%)
HSVhsv(231, 74%, 58%)
CMYKcmyk(73.6%, 62.2%, 0%, 42%)
CIE-LABlab(27.84, 26.40, -52.58)
CIE-LCHlch(27.84, 58.84, 296.66°)
OKLaboklab(38.82% -0.0006 -0.1518)
OKLCHoklch(38.82% 0.152 269.8)
XYZxyz(7.5943, 5.3970, 28.6527)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273894 #948327
analogous
#276F94 #273894 #4D2794
triadic
#273894 #942738 #389427
tetradic
#273894 #94276F #948327 #27944D
square
#273894 #94276F #948327 #27944D
split-complementary
#273894 #944D27 #6F9427
monochromatic
#0D1333 #1A2664 #273894 #344AC4 #6072D5

Accessibility & contrast

On white

10.10
#273894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273894
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273894#FFFFFF#000000##FFFFFF
##2738941.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273894;
/* rgb */ color: rgb(39, 56, 148);
/* oklch */ color: oklch(38.8% 0.152 269.8);
Tailwind
colors: {
  custom: {
    50: '#716eb4',
    500: '#273894',
    950: '#000000',
  },
}
SCSS
$custom: #273894;
$custom-light: #716eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#273894",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 230.642,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.15181,
    "h": 269.8
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#273894
secondary
#BBAC5C
accent
#C946E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273894

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

Preview Lab → · Contrast checker → · Palette generator →

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