#273191#273191

#273191 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.156 H 271.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#273191
RGBrgb(39, 49, 145)
HSLhsl(234, 58%, 36%)
HSVhsv(234, 73%, 57%)
CMYKcmyk(73.1%, 66.2%, 0%, 43.1%)
CIE-LABlab(25.78, 29.95, -54.10)
CIE-LCHlch(25.78, 61.84, 298.96°)
OKLaboklab(37.22% 0.0046 -0.1563)
OKLCHoklch(37.22% 0.156 271.7)
XYZxyz(7.0441, 4.6716, 27.3130)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273191 #918727
analogous
#276691 #273191 #522791
triadic
#273191 #912731 #319127
tetradic
#273191 #912766 #918727 #279152
square
#273191 #912766 #918727 #279152
split-complementary
#273191 #915227 #669127
monochromatic
#0D1031 #1A2161 #273191 #3441C1 #5F6AD4

Accessibility & contrast

On white

10.86
#273191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273191
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273191#FFFFFF#000000##FFFFFF
##2731911.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273191;
/* rgb */ color: rgb(39, 49, 145);
/* oklch */ color: oklch(37.2% 0.156 271.7);
Tailwind
colors: {
  custom: {
    50: '#7169b2',
    500: '#273191',
    950: '#000000',
  },
}
SCSS
$custom: #273191;
$custom-light: #7169b2;
$custom-dark: #000000;
JSON
{
  "hex": "#273191",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 234.34,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37221,
    "c": 0.1564,
    "h": 271.7
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#273191
secondary
#B9B05B
accent
#D247E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273191

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

Preview Lab → · Contrast checker → · Palette generator →

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