#273E85#273E85

#273E85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.122 H 267.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#273E85
RGBrgb(39, 62, 133)
HSLhsl(225, 55%, 34%)
HSVhsv(225, 71%, 52%)
CMYKcmyk(70.7%, 53.4%, 0%, 47.8%)
CIE-LABlab(28.30, 16.54, -42.57)
CIE-LCHlch(28.30, 45.67, 291.23°)
OKLaboklab(38.79% -0.0064 -0.1223)
OKLCHoklch(38.79% 0.122 267)
XYZxyz(6.7915, 5.5694, 22.9028)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E85 #856E27
analogous
#276D85 #273E85 #3F2785
triadic
#273E85 #85273E #3E8527
tetradic
#273E85 #85276D #856E27 #27853F
square
#273E85 #85276D #856E27 #27853F
split-complementary
#273E85 #853F27 #6D8527
monochromatic
#0B1226 #192856 #273E85 #3554B4 #5875CE

Accessibility & contrast

On white

9.93
#273E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E85
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E85#FFFFFF#000000##FFFFFF
##273E851.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273e85;
/* rgb */ color: rgb(39, 62, 133);
/* oklch */ color: oklch(38.8% 0.122 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d72a9',
    500: '#273e85',
    950: '#000000',
  },
}
SCSS
$custom: #273e85;
$custom-light: #6d72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273e85",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 225.319,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.12245,
    "h": 267
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#273E85
secondary
#B39C55
accent
#BA4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E85

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

Preview Lab → · Contrast checker → · Palette generator →

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