#273F84#273F84

#273F84 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.120 H 266.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#273F84
RGBrgb(39, 63, 132)
HSLhsl(225, 54%, 34%)
HSVhsv(225, 70%, 52%)
CMYKcmyk(70.5%, 52.3%, 0%, 48.2%)
CIE-LABlab(28.52, 15.46, -41.59)
CIE-LCHlch(28.52, 44.37, 290.39°)
OKLaboklab(38.93% -0.0074 -0.1194)
OKLCHoklch(38.93% 0.12 266.4)
XYZxyz(6.7776, 5.6516, 22.5590)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F84 #846C27
analogous
#276D84 #273F84 #3D2784
triadic
#273F84 #84273F #3F8427
tetradic
#273F84 #84276D #846C27 #27843D
square
#273F84 #84276D #846C27 #27843D
split-complementary
#273F84 #843D27 #6D8427
monochromatic
#0B1226 #192855 #273F84 #3556B3 #5876CE

Accessibility & contrast

On white

9.86
#273F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#273F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F84
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F84#FFFFFF#000000##FFFFFF
##273F841.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164886
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273f84;
/* rgb */ color: rgb(39, 63, 132);
/* oklch */ color: oklch(38.9% 0.120 266.4);
Tailwind
colors: {
  custom: {
    50: '#6d73a8',
    500: '#273f84',
    950: '#000000',
  },
}
SCSS
$custom: #273f84;
$custom-light: #6d73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#273f84",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 224.516,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.11963,
    "h": 266.4
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#273F84
secondary
#B29A54
accent
#B84ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #273F84

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

Preview Lab → · Contrast checker → · Palette generator →

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