#273B76#273B76

#273B76 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.104 H 267.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#273B76
RGBrgb(39, 59, 118)
HSLhsl(225, 50%, 31%)
HSVhsv(225, 67%, 46%)
CMYKcmyk(66.9%, 50%, 0%, 53.7%)
CIE-LABlab(26.35, 12.81, -36.29)
CIE-LCHlch(26.35, 38.48, 289.44°)
OKLaboklab(36.97% -0.0052 -0.1039)
OKLCHoklch(36.97% 0.104 267.1)
XYZxyz(5.6696, 4.8668, 17.7766)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B76 #766227
analogous
#276276 #273B76 #3A2776
triadic
#273B76 #76273B #3B7627
tetradic
#273B76 #762762 #766227 #27763A
square
#273B76 #762762 #766227 #27763A
split-complementary
#273B76 #763A27 #627627
monochromatic
#090D1A #182448 #273B76 #3652A4 #526FC6

Accessibility & contrast

On white

10.64
#273B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B76
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B76#FFFFFF#000000##FFFFFF
##273B761.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#0C3B75
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273b76;
/* rgb */ color: rgb(39, 59, 118);
/* oklch */ color: oklch(37.0% 0.104 267.1);
Tailwind
colors: {
  custom: {
    50: '#6a709e',
    500: '#273b76',
    950: '#000000',
  },
}
SCSS
$custom: #273b76;
$custom-light: #6a709e;
$custom-dark: #000000;
JSON
{
  "hex": "#273b76",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 224.81,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.10399,
    "h": 267.1
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#273B76
secondary
#A89251
accent
#B64EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273B76

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

Preview Lab → · Contrast checker → · Palette generator →

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