#273391#273391

#273391 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.154 H 271.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#273391
RGBrgb(39, 51, 145)
HSLhsl(233, 58%, 36%)
HSVhsv(233, 73%, 57%)
CMYKcmyk(73.1%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.28, 28.62, -53.28)
CIE-LCHlch(26.28, 60.48, 298.24°)
OKLaboklab(37.59% 0.0032 -0.1539)
OKLCHoklch(37.59% 0.154 271.2)
XYZxyz(7.1296, 4.8426, 27.3415)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273391 #918527
analogous
#276891 #273391 #502791
triadic
#273391 #912733 #339127
tetradic
#273391 #912768 #918527 #279150
square
#273391 #912768 #918527 #279150
split-complementary
#273391 #915027 #689127
monochromatic
#0D1131 #1A2261 #273391 #3444C1 #5F6CD4

Accessibility & contrast

On white

10.67
#273391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273391
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273391#FFFFFF#000000##FFFFFF
##2733911.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273391;
/* rgb */ color: rgb(39, 51, 145);
/* oklch */ color: oklch(37.6% 0.154 271.2);
Tailwind
colors: {
  custom: {
    50: '#716ab2',
    500: '#273391',
    950: '#000000',
  },
}
SCSS
$custom: #273391;
$custom-light: #716ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#273391",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 233.208,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3759,
    "c": 0.15393,
    "h": 271.2
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#273391
secondary
#B9AE5B
accent
#CF47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273391

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

Preview Lab → · Contrast checker → · Palette generator →

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