#273C84#273C84

#273C84 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.124 H 267.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#273C84
RGBrgb(39, 60, 132)
HSLhsl(226, 54%, 34%)
HSVhsv(226, 70%, 52%)
CMYKcmyk(70.5%, 54.5%, 0%, 48.2%)
CIE-LABlab(27.65, 17.53, -42.99)
CIE-LCHlch(27.65, 46.43, 292.18°)
OKLaboklab(38.28% -0.0046 -0.1236)
OKLCHoklch(38.28% 0.124 267.9)
XYZxyz(6.6160, 5.3284, 22.5051)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C84 #846F27
analogous
#276A84 #273C84 #402784
triadic
#273C84 #84273C #3C8427
tetradic
#273C84 #84276A #846F27 #278440
square
#273C84 #84276A #846F27 #278440
split-complementary
#273C84 #844027 #6A8427
monochromatic
#0B1126 #192755 #273C84 #3551B3 #5872CE

Accessibility & contrast

On white

10.17
#273C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#273C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C84
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C84#FFFFFF#000000##FFFFFF
##273C841.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4687
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273c84;
/* rgb */ color: rgb(39, 60, 132);
/* oklch */ color: oklch(38.3% 0.124 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d71a8',
    500: '#273c84',
    950: '#000000',
  },
}
SCSS
$custom: #273c84;
$custom-light: #6d71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#273c84",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 226.452,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38276,
    "c": 0.12364,
    "h": 267.9
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#273C84
secondary
#B29D54
accent
#BC4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C84

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

Preview Lab → · Contrast checker → · Palette generator →

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