#273D86#273D86

#273D86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.125 H 267.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#273D86
RGBrgb(39, 61, 134)
HSLhsl(226, 55%, 34%)
HSVhsv(226, 71%, 53%)
CMYKcmyk(70.9%, 54.5%, 0%, 47.5%)
CIE-LABlab(28.09, 17.61, -43.53)
CIE-LCHlch(28.09, 46.96, 292.03°)
OKLaboklab(38.65% -0.0053 -0.1251)
OKLCHoklch(38.65% 0.125 267.6)
XYZxyz(6.8070, 5.4894, 23.2505)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D86 #867027
analogous
#276D86 #273D86 #412786
triadic
#273D86 #86273D #3D8627
tetradic
#273D86 #86276D #867027 #278641
square
#273D86 #86276D #867027 #278641
split-complementary
#273D86 #864127 #6D8627
monochromatic
#0B1227 #192757 #273D86 #3553B5 #5974CF

Accessibility & contrast

On white

10.01
#273D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D86
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D86#FFFFFF#000000##FFFFFF
##273D861.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273d86;
/* rgb */ color: rgb(39, 61, 134);
/* oklch */ color: oklch(38.7% 0.125 267.6);
Tailwind
colors: {
  custom: {
    50: '#6e72aa',
    500: '#273d86',
    950: '#000000',
  },
}
SCSS
$custom: #273d86;
$custom-light: #6e72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#273d86",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 226.105,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.12525,
    "h": 267.6
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#273D86
secondary
#B49E55
accent
#BC4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273D86

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

Preview Lab → · Contrast checker → · Palette generator →

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