#273D84#273D84

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

Color values

HEX#273D84
RGBrgb(39, 61, 132)
HSLhsl(226, 54%, 34%)
HSVhsv(226, 70%, 52%)
CMYKcmyk(70.5%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.94, 16.84, -42.53)
CIE-LCHlch(27.94, 45.74, 291.60°)
OKLaboklab(38.49% -0.0055 -0.1222)
OKLCHoklch(38.49% 0.122 267.4)
XYZxyz(6.6689, 5.4341, 22.5228)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D84 #846E27
analogous
#276B84 #273D84 #3F2784
triadic
#273D84 #84273D #3D8427
tetradic
#273D84 #84276B #846E27 #27843F
square
#273D84 #84276B #846E27 #27843F
split-complementary
#273D84 #843F27 #6B8427
monochromatic
#0B1126 #192755 #273D84 #3553B3 #5874CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273D84#FFFFFF#000000##FFFFFF
##273D841.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)
#0F4687
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273d84;
/* rgb */ color: rgb(39, 61, 132);
/* oklch */ color: oklch(38.5% 0.122 267.4);
Tailwind
colors: {
  custom: {
    50: '#6d72a8',
    500: '#273d84',
    950: '#000000',
  },
}
SCSS
$custom: #273d84;
$custom-light: #6d72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#273d84",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 225.806,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38493,
    "c": 0.1223,
    "h": 267.4
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#273D84
secondary
#B29C54
accent
#BB4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273D84

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

Preview Lab → · Contrast checker → · Palette generator →

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