#273B86#273B86

#273B86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.128 H 268.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#273B86
RGBrgb(39, 59, 134)
HSLhsl(227, 55%, 34%)
HSVhsv(227, 71%, 53%)
CMYKcmyk(70.9%, 56%, 0%, 47.5%)
CIE-LABlab(27.52, 18.99, -44.45)
CIE-LCHlch(27.52, 48.34, 293.14°)
OKLaboklab(38.22% -0.0035 -0.1279)
OKLCHoklch(38.22% 0.128 268.4)
XYZxyz(6.7023, 5.2798, 23.2155)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B86 #867227
analogous
#276B86 #273B86 #432786
triadic
#273B86 #86273B #3B8627
tetradic
#273B86 #86276B #867227 #278643
square
#273B86 #86276B #867227 #278643
split-complementary
#273B86 #864327 #6B8627
monochromatic
#0B1127 #192657 #273B86 #3550B5 #5972CF

Accessibility & contrast

On white

10.21
#273B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B86
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B86#FFFFFF#000000##FFFFFF
##273B861.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014589
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273b86;
/* rgb */ color: rgb(39, 59, 134);
/* oklch */ color: oklch(38.2% 0.128 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e70aa',
    500: '#273b86',
    950: '#000000',
  },
}
SCSS
$custom: #273b86;
$custom-light: #6e70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#273b86",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 227.368,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.12793,
    "h": 268.4
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#273B86
secondary
#B4A055
accent
#BF4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B86

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

Preview Lab → · Contrast checker → · Palette generator →

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