#273C87#273C87

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

Color values

HEX#273C87
RGBrgb(39, 60, 135)
HSLhsl(227, 55%, 34%)
HSVhsv(227, 71%, 53%)
CMYKcmyk(71.1%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.88, 18.69, -44.49)
CIE-LCHlch(27.88, 48.26, 292.79°)
OKLaboklab(38.52% -0.0043 -0.128)
OKLCHoklch(38.52% 0.128 268.1)
XYZxyz(6.8242, 5.4116, 23.6019)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C87 #877227
analogous
#276C87 #273C87 #422787
triadic
#273C87 #87273C #3C8727
tetradic
#273C87 #87276C #877227 #278742
square
#273C87 #87276C #877227 #278742
split-complementary
#273C87 #874227 #6C8727
monochromatic
#0C1228 #192758 #273C87 #3551B6 #5973CF

Accessibility & contrast

On white

10.08
#273C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C87
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C87#FFFFFF#000000##FFFFFF
##273C871.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273c87;
/* rgb */ color: rgb(39, 60, 135);
/* oklch */ color: oklch(38.5% 0.128 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e71ab',
    500: '#273c87',
    950: '#000000',
  },
}
SCSS
$custom: #273c87;
$custom-light: #6e71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273c87",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 226.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.12805,
    "h": 268.1
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273C87

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

Preview Lab → · Contrast checker → · Palette generator →

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