#273091#273091

#273091 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.158 H 271.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#273091
RGBrgb(39, 48, 145)
HSLhsl(235, 58%, 36%)
HSVhsv(235, 73%, 57%)
CMYKcmyk(73.1%, 66.9%, 0%, 43.1%)
CIE-LABlab(25.53, 30.60, -54.51)
CIE-LCHlch(25.53, 62.51, 299.31°)
OKLaboklab(37.04% 0.0053 -0.1575)
OKLCHoklch(37.04% 0.158 271.9)
XYZxyz(7.0028, 4.5889, 27.2993)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273091 #918827
analogous
#276591 #273091 #532791
triadic
#273091 #912730 #309127
tetradic
#273091 #912765 #918827 #279153
square
#273091 #912765 #918827 #279153
split-complementary
#273091 #915327 #659127
monochromatic
#0D1031 #1A2061 #273091 #3440C1 #5F69D4

Accessibility & contrast

On white

10.95
#273091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#273091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273091
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273091#FFFFFF#000000##FFFFFF
##2730911.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #273091;
/* rgb */ color: rgb(39, 48, 145);
/* oklch */ color: oklch(37.0% 0.158 271.9);
Tailwind
colors: {
  custom: {
    50: '#7168b2',
    500: '#273091',
    950: '#000000',
  },
}
SCSS
$custom: #273091;
$custom-light: #7168b2;
$custom-dark: #000000;
JSON
{
  "hex": "#273091",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 234.906,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.15762,
    "h": 271.9
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#273091
secondary
#B9B15B
accent
#D447E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273091

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

Preview Lab → · Contrast checker → · Palette generator →

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