#273A86#273A86

#273A86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.129 H 268.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#273A86
RGBrgb(39, 58, 134)
HSLhsl(228, 55%, 34%)
HSVhsv(228, 71%, 53%)
CMYKcmyk(70.9%, 56.7%, 0%, 47.5%)
CIE-LABlab(27.24, 19.68, -44.91)
CIE-LCHlch(27.24, 49.03, 293.67°)
OKLaboklab(38.01% -0.0026 -0.1292)
OKLCHoklch(38.01% 0.129 268.9)
XYZxyz(6.6514, 5.1780, 23.1986)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A86 #867327
analogous
#276A86 #273A86 #442786
triadic
#273A86 #86273A #3A8627
tetradic
#273A86 #86276A #867327 #278644
square
#273A86 #86276A #867327 #278644
split-complementary
#273A86 #864427 #6A8627
monochromatic
#0B1127 #192557 #273A86 #354FB5 #5970CF

Accessibility & contrast

On white

10.32
#273A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A86
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A86#FFFFFF#000000##FFFFFF
##273A861.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273a86;
/* rgb */ color: rgb(39, 58, 134);
/* oklch */ color: oklch(38.0% 0.129 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e6faa',
    500: '#273a86',
    950: '#000000',
  },
}
SCSS
$custom: #273a86;
$custom-light: #6e6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#273a86",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 228,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.12926,
    "h": 268.9
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#273A86
secondary
#B4A155
accent
#C14ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A86

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

Preview Lab → · Contrast checker → · Palette generator →

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