#273C9C#273C9C

#273C9C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.158 H 268.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#273C9C
RGBrgb(39, 60, 156)
HSLhsl(229, 60%, 38%)
HSVhsv(229, 75%, 61%)
CMYKcmyk(75%, 61.5%, 0%, 38.8%)
CIE-LABlab(29.57, 26.75, -54.64)
CIE-LCHlch(29.57, 60.83, 296.08°)
OKLaboklab(40.32% -0.0036 -0.1578)
OKLCHoklch(40.32% 0.158 268.7)
XYZxyz(8.4512, 6.0625, 32.1708)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C9C #9C8727
analogous
#27769C #273C9C #4C279C
triadic
#273C9C #9C273C #3C9C27
tetradic
#273C9C #9C2776 #9C8727 #279C4C
square
#273C9C #9C2776 #9C8727 #279C4C
split-complementary
#273C9C #9C4C27 #769C27
monochromatic
#0F163A #1B296B #273C9C #344FCC #657AD8

Accessibility & contrast

On white

9.49
#273C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#273C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C9C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C9C#FFFFFF#000000##FFFFFF
##273C9C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273c9c;
/* rgb */ color: rgb(39, 60, 156);
/* oklch */ color: oklch(40.3% 0.158 268.7);
Tailwind
colors: {
  custom: {
    50: '#7371ba',
    500: '#273c9c',
    950: '#000000',
  },
}
SCSS
$custom: #273c9c;
$custom-light: #7371ba;
$custom-dark: #000000;
JSON
{
  "hex": "#273c9c",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 229.231,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.15784,
    "h": 268.7
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#273C9C
secondary
#BEAD61
accent
#C745E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #273C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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