#273F76#273F76

#273F76 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.099 H 264.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#273F76
RGBrgb(39, 63, 118)
HSLhsl(222, 50%, 31%)
HSVhsv(222, 67%, 46%)
CMYKcmyk(66.9%, 46.6%, 0%, 53.7%)
CIE-LABlab(27.56, 10.04, -34.36)
CIE-LCHlch(27.56, 35.80, 286.29°)
OKLaboklab(37.89% -0.0095 -0.0981)
OKLCHoklch(37.89% 0.099 264.5)
XYZxyz(5.8831, 5.2938, 17.8478)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F76 #765E27
analogous
#276676 #273F76 #362776
triadic
#273F76 #76273F #3F7627
tetradic
#273F76 #762766 #765E27 #277636
square
#273F76 #762766 #765E27 #277636
split-complementary
#273F76 #763627 #667627
monochromatic
#090E1A #182648 #273F76 #3658A4 #5275C6

Accessibility & contrast

On white

10.20
#273F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F76
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F76#FFFFFF#000000##FFFFFF
##273F761.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#183E75
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273f76;
/* rgb */ color: rgb(39, 63, 118);
/* oklch */ color: oklch(37.9% 0.099 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a739e',
    500: '#273f76',
    950: '#000000',
  },
}
SCSS
$custom: #273f76;
$custom-light: #6a739e;
$custom-dark: #000000;
JSON
{
  "hex": "#273f76",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 221.772,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.09858,
    "h": 264.5
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#273F76
secondary
#A88E51
accent
#AF4EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #273F76

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

Preview Lab → · Contrast checker → · Palette generator →

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