#273A84#273A84

#273A84 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.126 H 268.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#273A84
RGBrgb(39, 58, 132)
HSLhsl(228, 54%, 34%)
HSVhsv(228, 70%, 52%)
CMYKcmyk(70.5%, 56.1%, 0%, 48.2%)
CIE-LABlab(27.08, 18.91, -43.91)
CIE-LCHlch(27.08, 47.81, 293.30°)
OKLaboklab(37.85% -0.0027 -0.1263)
OKLCHoklch(37.85% 0.126 268.8)
XYZxyz(6.5132, 5.1228, 22.4709)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A84 #847127
analogous
#276884 #273A84 #422784
triadic
#273A84 #84273A #3A8427
tetradic
#273A84 #842768 #847127 #278442
square
#273A84 #842768 #847127 #278442
split-complementary
#273A84 #844227 #688427
monochromatic
#0B1026 #192555 #273A84 #354FB3 #5870CE

Accessibility & contrast

On white

10.37
#273A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#273A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A84
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A84#FFFFFF#000000##FFFFFF
##273A841.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273a84;
/* rgb */ color: rgb(39, 58, 132);
/* oklch */ color: oklch(37.8% 0.126 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d6fa8',
    500: '#273a84',
    950: '#000000',
  },
}
SCSS
$custom: #273a84;
$custom-light: #6d6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#273a84",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 227.742,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.12633,
    "h": 268.8
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#273A84
secondary
#B29F54
accent
#C04ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A84

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

Preview Lab → · Contrast checker → · Palette generator →

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