#273B82#273B82

#273B82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.122 H 268.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#273B82
RGBrgb(39, 59, 130)
HSLhsl(227, 54%, 33%)
HSVhsv(227, 70%, 51%)
CMYKcmyk(70%, 54.6%, 0%, 49%)
CIE-LABlab(27.21, 17.45, -42.45)
CIE-LCHlch(27.21, 45.89, 292.34°)
OKLaboklab(37.9% -0.0038 -0.122)
OKLCHoklch(37.9% 0.122 268.2)
XYZxyz(6.4285, 5.1704, 21.7740)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B82 #826E27
analogous
#276882 #273B82 #402782
triadic
#273B82 #82273B #3B8227
tetradic
#273B82 #822768 #826E27 #278240
square
#273B82 #822768 #826E27 #278240
split-complementary
#273B82 #824027 #688227
monochromatic
#0B1024 #192653 #273B82 #3550B1 #5771CD

Accessibility & contrast

On white

10.32
#273B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#273B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B82
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B82#FFFFFF#000000##FFFFFF
##273B821.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273b82;
/* rgb */ color: rgb(39, 59, 130);
/* oklch */ color: oklch(37.9% 0.122 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d70a7',
    500: '#273b82',
    950: '#000000',
  },
}
SCSS
$custom: #273b82;
$custom-light: #6d70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#273b82",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 226.813,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.12204,
    "h": 268.2
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#273B82
secondary
#B19D53
accent
#BD4BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273B82

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

Preview Lab → · Contrast checker → · Palette generator →

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