#273A76#273A76

#273A76 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.105 H 267.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#273A76
RGBrgb(39, 58, 118)
HSLhsl(226, 50%, 31%)
HSVhsv(226, 67%, 46%)
CMYKcmyk(66.9%, 50.8%, 0%, 53.7%)
CIE-LABlab(26.05, 13.51, -36.77)
CIE-LCHlch(26.05, 39.17, 290.17°)
OKLaboklab(36.74% -0.0041 -0.1053)
OKLCHoklch(36.74% 0.105 267.8)
XYZxyz(5.6187, 4.7649, 17.7597)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A76 #766327
analogous
#276176 #273A76 #3C2776
triadic
#273A76 #76273A #3A7627
tetradic
#273A76 #762761 #766327 #27763C
square
#273A76 #762761 #766327 #27763C
split-complementary
#273A76 #763C27 #617627
monochromatic
#090D1A #182348 #273A76 #3651A4 #526EC6

Accessibility & contrast

On white

10.75
#273A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#273A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A76
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A76#FFFFFF#000000##FFFFFF
##273A761.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#083A75
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273a76;
/* rgb */ color: rgb(39, 58, 118);
/* oklch */ color: oklch(36.7% 0.105 267.8);
Tailwind
colors: {
  custom: {
    50: '#6a6f9e',
    500: '#273a76',
    950: '#000000',
  },
}
SCSS
$custom: #273a76;
$custom-light: #6a6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#273a76",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 225.57,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.10536,
    "h": 267.8
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#273A76
secondary
#A89351
accent
#B84EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273A76

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

Preview Lab → · Contrast checker → · Palette generator →

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