#273C91#273C91

#273C91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.142 H 268.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#273C91
RGBrgb(39, 60, 145)
HSLhsl(228, 58%, 36%)
HSVhsv(228, 73%, 57%)
CMYKcmyk(73.1%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.66, 22.55, -49.40)
CIE-LCHlch(28.66, 54.30, 294.53°)
OKLaboklab(39.35% -0.0038 -0.1424)
OKLCHoklch(39.35% 0.142 268.5)
XYZxyz(7.5616, 5.7066, 27.4856)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C91 #917C27
analogous
#277191 #273C91 #472791
triadic
#273C91 #91273C #3C9127
tetradic
#273C91 #912771 #917C27 #279147
square
#273C91 #912771 #917C27 #279147
split-complementary
#273C91 #914727 #719127
monochromatic
#0D1431 #1A2861 #273C91 #3450C1 #5F76D4

Accessibility & contrast

On white

9.81
#273C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C91
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C91#FFFFFF#000000##FFFFFF
##273C911.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273c91;
/* rgb */ color: rgb(39, 60, 145);
/* oklch */ color: oklch(39.4% 0.142 268.5);
Tailwind
colors: {
  custom: {
    50: '#7071b2',
    500: '#273c91',
    950: '#000000',
  },
}
SCSS
$custom: #273c91;
$custom-light: #7071b2;
$custom-dark: #000000;
JSON
{
  "hex": "#273c91",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 228.113,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.14246,
    "h": 268.5
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#273C91
secondary
#B9A65B
accent
#C247E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C91

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

Preview Lab → · Contrast checker → · Palette generator →

#273C91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva