#273D85#273D85

#273D85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.124 H 267.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#273D85
RGBrgb(39, 61, 133)
HSLhsl(226, 55%, 34%)
HSVhsv(226, 71%, 52%)
CMYKcmyk(70.7%, 54.1%, 0%, 47.8%)
CIE-LABlab(28.01, 17.23, -43.03)
CIE-LCHlch(28.01, 46.35, 291.82°)
OKLaboklab(38.57% -0.0054 -0.1237)
OKLCHoklch(38.57% 0.124 267.5)
XYZxyz(6.7376, 5.4616, 22.8849)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D85 #856F27
analogous
#276C85 #273D85 #402785
triadic
#273D85 #85273D #3D8527
tetradic
#273D85 #85276C #856F27 #278540
square
#273D85 #85276C #856F27 #278540
split-complementary
#273D85 #854027 #6C8527
monochromatic
#0B1226 #192756 #273D85 #3553B4 #5874CE

Accessibility & contrast

On white

10.04
#273D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#273D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D85
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D85#FFFFFF#000000##FFFFFF
##273D851.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273d85;
/* rgb */ color: rgb(39, 61, 133);
/* oklch */ color: oklch(38.6% 0.124 267.5);
Tailwind
colors: {
  custom: {
    50: '#6d72a9',
    500: '#273d85',
    950: '#000000',
  },
}
SCSS
$custom: #273d85;
$custom-light: #6d72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273d85",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 225.957,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38573,
    "c": 0.12378,
    "h": 267.5
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#273D85
secondary
#B39D55
accent
#BB4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273D85

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

Preview Lab → · Contrast checker → · Palette generator →

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