#273C8A#273C8A

#273C8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.132 H 268.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#273C8A
RGBrgb(39, 60, 138)
HSLhsl(227, 56%, 35%)
HSVhsv(227, 72%, 54%)
CMYKcmyk(71.7%, 56.5%, 0%, 45.9%)
CIE-LABlab(28.11, 19.85, -45.98)
CIE-LCHlch(28.11, 50.08, 293.35°)
OKLaboklab(38.77% -0.0041 -0.1323)
OKLCHoklch(38.77% 0.132 268.2)
XYZxyz(7.0384, 5.4973, 24.7300)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C8A #8A7527
analogous
#276D8A #273C8A #44278A
triadic
#273C8A #8A273C #3C8A27
tetradic
#273C8A #8A276D #8A7527 #278A44
square
#273C8A #8A276D #8A7527 #278A44
split-complementary
#273C8A #8A4427 #6D8A27
monochromatic
#0C132B #1A275A #273C8A #3451BA #5B74D1

Accessibility & contrast

On white

10.00
#273C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C8A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C8A#FFFFFF#000000##FFFFFF
##273C8A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273c8a;
/* rgb */ color: rgb(39, 60, 138);
/* oklch */ color: oklch(38.8% 0.132 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f71ad',
    500: '#273c8a',
    950: '#000000',
  },
}
SCSS
$custom: #273c8a;
$custom-light: #6f71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#273c8a",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 227.273,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.13241,
    "h": 268.2
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#273C8A
secondary
#B6A257
accent
#BF49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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