#273196#273196

#273196 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.163 H 271.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#273196
RGBrgb(39, 49, 150)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 59%)
CMYKcmyk(74%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.24, 31.79, -56.42)
CIE-LCHlch(26.24, 64.76, 299.40°)
OKLaboklab(37.7% 0.0042 -0.1631)
OKLCHoklch(37.7% 0.163 271.5)
XYZxyz(7.4382, 4.8292, 29.3884)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273196 #968C27
analogous
#276896 #273196 #552796
triadic
#273196 #962731 #319627
tetradic
#273196 #962768 #968C27 #279655
square
#273196 #962768 #968C27 #279655
split-complementary
#273196 #965527 #689627
monochromatic
#0E1135 #1A2165 #273196 #3441C7 #616CD6

Accessibility & contrast

On white

10.68
#273196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273196
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273196#FFFFFF#000000##FFFFFF
##2731961.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273196;
/* rgb */ color: rgb(39, 49, 150);
/* oklch */ color: oklch(37.7% 0.163 271.5);
Tailwind
colors: {
  custom: {
    50: '#7269b6',
    500: '#273196',
    950: '#000000',
  },
}
SCSS
$custom: #273196;
$custom-light: #7269b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273196",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 234.595,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.16316,
    "h": 271.5
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#273196
secondary
#BCB35D
accent
#D446E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273196

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

Preview Lab → · Contrast checker → · Palette generator →

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