#273E71#273E71

#273E71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.092 H 264.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#273E71
RGBrgb(39, 62, 113)
HSLhsl(221, 49%, 30%)
HSVhsv(221, 65%, 44%)
CMYKcmyk(65.5%, 45.1%, 0%, 55.7%)
CIE-LABlab(26.93, 8.81, -32.19)
CIE-LCHlch(26.93, 33.38, 285.31°)
OKLaboklab(37.3% -0.0094 -0.0918)
OKLCHoklch(37.3% 0.092 264.2)
XYZxyz(5.5389, 5.0683, 16.3060)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E71 #715A27
analogous
#276371 #273E71 #352771
triadic
#273E71 #71273E #3E7127
tetradic
#273E71 #712763 #715A27 #277135
square
#273E71 #712763 #715A27 #277135
split-complementary
#273E71 #713527 #637127
monochromatic
#080C17 #172544 #273E71 #37579E #5074C3

Accessibility & contrast

On white

10.43
#273E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E71
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E71#FFFFFF#000000##FFFFFF
##273E711.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#1B3C70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273e71;
/* rgb */ color: rgb(39, 62, 113);
/* oklch */ color: oklch(37.3% 0.092 264.2);
Tailwind
colors: {
  custom: {
    50: '#69729a',
    500: '#273e71',
    950: '#000000',
  },
}
SCSS
$custom: #273e71;
$custom-light: #69729a;
$custom-dark: #000000;
JSON
{
  "hex": "#273e71",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 221.351,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.09226,
    "h": 264.2
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#273E71
secondary
#A38A50
accent
#AE50D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #273E71

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

Preview Lab → · Contrast checker → · Palette generator →

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