#273E75#273E75

#273E75 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.098 H 265.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#273E75
RGBrgb(39, 62, 117)
HSLhsl(222, 50%, 31%)
HSVhsv(222, 67%, 46%)
CMYKcmyk(66.7%, 47%, 0%, 54.1%)
CIE-LABlab(27.19, 10.35, -34.32)
CIE-LCHlch(27.19, 35.84, 286.78°)
OKLaboklab(37.59% -0.0086 -0.098)
OKLCHoklch(37.59% 0.098 265)
XYZxyz(5.7691, 5.1604, 17.5182)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E75 #755E27
analogous
#276575 #273E75 #372775
triadic
#273E75 #75273E #3E7527
tetradic
#273E75 #752765 #755E27 #277537
square
#273E75 #752765 #755E27 #277537
split-complementary
#273E75 #753727 #657527
monochromatic
#080D19 #182647 #273E75 #3656A3 #5173C5

Accessibility & contrast

On white

10.33
#273E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E75
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E75#FFFFFF#000000##FFFFFF
##273E751.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244477
Deuteranopia (green-blind)
#173D74
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273e75;
/* rgb */ color: rgb(39, 62, 117);
/* oklch */ color: oklch(37.6% 0.098 265.0);
Tailwind
colors: {
  custom: {
    50: '#6a729d',
    500: '#273e75',
    950: '#000000',
  },
}
SCSS
$custom: #273e75;
$custom-light: #6a729d;
$custom-dark: #000000;
JSON
{
  "hex": "#273e75",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 117
  },
  "hsl": {
    "h": 222.308,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.0984,
    "h": 265
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#273E75
secondary
#A78E51
accent
#B04EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #273E75

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

Preview Lab → · Contrast checker → · Palette generator →

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