#273C88#273C88

#273C88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.130 H 268.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#273C88
RGBrgb(39, 60, 136)
HSLhsl(227, 55%, 34%)
HSVhsv(227, 71%, 53%)
CMYKcmyk(71.3%, 55.9%, 0%, 46.7%)
CIE-LABlab(27.95, 19.08, -44.99)
CIE-LCHlch(27.95, 48.87, 292.98°)
OKLaboklab(38.6% -0.0043 -0.1294)
OKLCHoklch(38.6% 0.13 268.1)
XYZxyz(6.8950, 5.4399, 23.9744)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C88 #887327
analogous
#276D88 #273C88 #422788
triadic
#273C88 #88273C #3C8827
tetradic
#273C88 #88276D #887327 #278842
square
#273C88 #88276D #887327 #278842
split-complementary
#273C88 #884227 #6D8827
monochromatic
#0C1229 #192758 #273C88 #3551B8 #5A73D0

Accessibility & contrast

On white

10.06
#273C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#273C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C88
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C88#FFFFFF#000000##FFFFFF
##273C881.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273c88;
/* rgb */ color: rgb(39, 60, 136);
/* oklch */ color: oklch(38.6% 0.130 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e71ab',
    500: '#273c88',
    950: '#000000',
  },
}
SCSS
$custom: #273c88;
$custom-light: #6e71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273c88",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 227.01,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.386,
    "c": 0.12951,
    "h": 268.1
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#273C88
secondary
#B5A056
accent
#BE49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C88

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

Preview Lab → · Contrast checker → · Palette generator →

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