#273194#273194

#273194 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.160 H 271.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#273194
RGBrgb(39, 49, 148)
HSLhsl(234, 58%, 37%)
HSVhsv(234, 74%, 58%)
CMYKcmyk(73.6%, 66.9%, 0%, 42%)
CIE-LABlab(26.06, 31.05, -55.50)
CIE-LCHlch(26.06, 63.59, 299.23°)
OKLaboklab(37.51% 0.0044 -0.1604)
OKLCHoklch(37.51% 0.16 271.6)
XYZxyz(7.2785, 4.7653, 28.5474)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273194 #948A27
analogous
#276894 #273194 #532794
triadic
#273194 #942731 #319427
tetradic
#273194 #942768 #948A27 #279453
square
#273194 #942768 #948A27 #279453
split-complementary
#273194 #945327 #689427
monochromatic
#0D1133 #1A2164 #273194 #3441C4 #606BD5

Accessibility & contrast

On white

10.75
#273194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#273194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273194
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273194#FFFFFF#000000##FFFFFF
##2731941.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273194;
/* rgb */ color: rgb(39, 49, 148);
/* oklch */ color: oklch(37.5% 0.160 271.6);
Tailwind
colors: {
  custom: {
    50: '#7269b4',
    500: '#273194',
    950: '#000000',
  },
}
SCSS
$custom: #273194;
$custom-light: #7269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273194",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 234.495,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37509,
    "c": 0.16047,
    "h": 271.6
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#273194
secondary
#BBB25C
accent
#D346E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273194

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

Preview Lab → · Contrast checker → · Palette generator →

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