#273C8D#273C8D

#273C8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.137 H 268.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#273C8D
RGBrgb(39, 60, 141)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 72%, 55%)
CMYKcmyk(72.3%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.34, 21.01, -47.45)
CIE-LCHlch(28.34, 51.89, 293.88°)
OKLaboklab(39.02% -0.004 -0.1367)
OKLCHoklch(39.02% 0.137 268.3)
XYZxyz(7.2586, 5.5854, 25.8897)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C8D #8D7827
analogous
#276F8D #273C8D #45278D
triadic
#273C8D #8D273C #3C8D27
tetradic
#273C8D #8D276F #8D7827 #278D45
square
#273C8D #8D276F #8D7827 #278D45
split-complementary
#273C8D #8D4527 #6F8D27
monochromatic
#0C132D #1A285D #273C8D #3450BD #5C75D2

Accessibility & contrast

On white

9.92
#273C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#273C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C8D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C8D#FFFFFF#000000##FFFFFF
##273C8D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273c8d;
/* rgb */ color: rgb(39, 60, 141);
/* oklch */ color: oklch(39.0% 0.137 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f71af',
    500: '#273c8d',
    950: '#000000',
  },
}
SCSS
$custom: #273c8d;
$custom-light: #6f71af;
$custom-dark: #000000;
JSON
{
  "hex": "#273c8d",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 227.647,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39015,
    "c": 0.13675,
    "h": 268.3
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#273C8D
secondary
#B7A459
accent
#C148E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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