#273C8C#273C8C

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

Color values

HEX#273C8C
RGBrgb(39, 60, 140)
HSLhsl(228, 56%, 35%)
HSVhsv(228, 72%, 55%)
CMYKcmyk(72.1%, 57.1%, 0%, 45.1%)
CIE-LABlab(28.26, 20.62, -46.96)
CIE-LCHlch(28.26, 51.29, 293.71°)
OKLaboklab(38.93% -0.004 -0.1352)
OKLCHoklch(38.93% 0.135 268.3)
XYZxyz(7.1846, 5.5558, 25.4996)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C8C #8C7727
analogous
#276E8C #273C8C #45278C
triadic
#273C8C #8C273C #3C8C27
tetradic
#273C8C #8C276E #8C7727 #278C45
square
#273C8C #8C276E #8C7727 #278C45
split-complementary
#273C8C #8C4527 #6E8C27
monochromatic
#0C132C #1A275C #273C8C #3451BC #5C74D2

Accessibility & contrast

On white

9.95
#273C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C8C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C8C#FFFFFF#000000##FFFFFF
##273C8C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273c8c;
/* rgb */ color: rgb(39, 60, 140);
/* oklch */ color: oklch(38.9% 0.135 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f71ae',
    500: '#273c8c',
    950: '#000000',
  },
}
SCSS
$custom: #273c8c;
$custom-light: #6f71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#273c8c",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 227.525,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.13531,
    "h": 268.3
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#273C8C
secondary
#B7A358
accent
#C048E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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