#273A83#273A83

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

Color values

HEX#273A83
RGBrgb(39, 58, 131)
HSLhsl(228, 54%, 33%)
HSVhsv(228, 70%, 51%)
CMYKcmyk(70.2%, 55.7%, 0%, 48.6%)
CIE-LABlab(27.01, 18.53, -43.41)
CIE-LCHlch(27.01, 47.20, 293.11°)
OKLaboklab(37.77% -0.0028 -0.1248)
OKLCHoklch(37.77% 0.125 268.7)
XYZxyz(6.4451, 5.0955, 22.1122)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A83 #837027
analogous
#276883 #273A83 #422783
triadic
#273A83 #83273A #3A8327
tetradic
#273A83 #832768 #837027 #278342
square
#273A83 #832768 #837027 #278342
split-complementary
#273A83 #834227 #688327
monochromatic
#0B1025 #192554 #273A83 #354FB2 #5770CD

Accessibility & contrast

On white

10.40
#273A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A83
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A83#FFFFFF#000000##FFFFFF
##273A831.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044486
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273a83;
/* rgb */ color: rgb(39, 58, 131);
/* oklch */ color: oklch(37.8% 0.125 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d6fa8',
    500: '#273a83',
    950: '#000000',
  },
}
SCSS
$custom: #273a83;
$custom-light: #6d6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#273a83",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 131
  },
  "hsl": {
    "h": 227.609,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37765,
    "c": 0.12486,
    "h": 268.7
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#273A83
secondary
#B29E54
accent
#BF4ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A83

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

Preview Lab → · Contrast checker → · Palette generator →

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