#273F83#273F83

#273F83 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.118 H 266.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#273F83
RGBrgb(39, 63, 131)
HSLhsl(224, 54%, 33%)
HSVhsv(224, 70%, 51%)
CMYKcmyk(70.2%, 51.9%, 0%, 48.6%)
CIE-LABlab(28.44, 15.07, -41.09)
CIE-LCHlch(28.44, 43.76, 290.15°)
OKLaboklab(38.86% -0.0075 -0.1179)
OKLCHoklch(38.86% 0.118 266.3)
XYZxyz(6.7095, 5.6244, 22.2003)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F83 #836B27
analogous
#276D83 #273F83 #3D2783
triadic
#273F83 #83273F #3F8327
tetradic
#273F83 #83276D #836B27 #27833D
square
#273F83 #83276D #836B27 #27833D
split-complementary
#273F83 #833D27 #6D8327
monochromatic
#0B1225 #192854 #273F83 #3556B2 #5776CD

Accessibility & contrast

On white

9.88
#273F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F83
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F83#FFFFFF#000000##FFFFFF
##273F831.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273f83;
/* rgb */ color: rgb(39, 63, 131);
/* oklch */ color: oklch(38.9% 0.118 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d73a7',
    500: '#273f83',
    950: '#000000',
  },
}
SCSS
$custom: #273f83;
$custom-light: #6d73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#273f83",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 224.348,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.11815,
    "h": 266.3
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#273F83
secondary
#B29954
accent
#B74ADD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #273F83

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

Preview Lab → · Contrast checker → · Palette generator →

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