#273B85#273B85

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

Color values

HEX#273B85
RGBrgb(39, 59, 133)
HSLhsl(227, 55%, 34%)
HSVhsv(227, 71%, 52%)
CMYKcmyk(70.7%, 55.6%, 0%, 47.8%)
CIE-LABlab(27.44, 18.61, -43.95)
CIE-LCHlch(27.44, 47.73, 292.94°)
OKLaboklab(38.14% -0.0036 -0.1264)
OKLCHoklch(38.14% 0.126 268.4)
XYZxyz(6.6328, 5.2521, 22.8500)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B85 #857127
analogous
#276A85 #273B85 #422785
triadic
#273B85 #85273B #3B8527
tetradic
#273B85 #85276A #857127 #278542
square
#273B85 #85276A #857127 #278542
split-complementary
#273B85 #854227 #6A8527
monochromatic
#0B1126 #192656 #273B85 #3550B4 #5871CE

Accessibility & contrast

On white

10.24
#273B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#273B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B85
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B85#FFFFFF#000000##FFFFFF
##273B851.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273b85;
/* rgb */ color: rgb(39, 59, 133);
/* oklch */ color: oklch(38.1% 0.126 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e70a9',
    500: '#273b85',
    950: '#000000',
  },
}
SCSS
$custom: #273b85;
$custom-light: #6e70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273b85",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 227.234,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38142,
    "c": 0.12646,
    "h": 268.4
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#273B85
secondary
#B39F55
accent
#BE4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B85

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

Preview Lab → · Contrast checker → · Palette generator →

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