#273A85#273A85

#273A85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.128 H 268.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#273A85
RGBrgb(39, 58, 133)
HSLhsl(228, 55%, 34%)
HSVhsv(228, 71%, 52%)
CMYKcmyk(70.7%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.16, 19.30, -44.41)
CIE-LCHlch(27.16, 48.42, 293.48°)
OKLaboklab(37.93% -0.0026 -0.1278)
OKLCHoklch(37.93% 0.128 268.8)
XYZxyz(6.5819, 5.1503, 22.8330)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A85 #857227
analogous
#276985 #273A85 #432785
triadic
#273A85 #85273A #3A8527
tetradic
#273A85 #852769 #857227 #278543
square
#273A85 #852769 #857227 #278543
split-complementary
#273A85 #854327 #698527
monochromatic
#0B1126 #192556 #273A85 #354FB4 #5870CE

Accessibility & contrast

On white

10.34
#273A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#273A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A85
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A85#FFFFFF#000000##FFFFFF
##273A851.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273a85;
/* rgb */ color: rgb(39, 58, 133);
/* oklch */ color: oklch(37.9% 0.128 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e6fa9',
    500: '#273a85',
    950: '#000000',
  },
}
SCSS
$custom: #273a85;
$custom-light: #6e6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#273a85",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 227.872,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3793,
    "c": 0.1278,
    "h": 268.8
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#273A85
secondary
#B3A055
accent
#C04ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A85

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

Preview Lab → · Contrast checker → · Palette generator →

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