#273A78#273A78

#273A78 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.108 H 268.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#273A78
RGBrgb(39, 58, 120)
HSLhsl(226, 51%, 31%)
HSVhsv(226, 68%, 47%)
CMYKcmyk(67.5%, 51.7%, 0%, 52.9%)
CIE-LABlab(26.20, 14.28, -37.81)
CIE-LCHlch(26.20, 40.41, 290.69°)
OKLaboklab(36.89% -0.0039 -0.1083)
OKLCHoklch(36.89% 0.108 268)
XYZxyz(5.7388, 4.8130, 18.3922)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A78 #786527
analogous
#276278 #273A78 #3C2778
triadic
#273A78 #78273A #3A7827
tetradic
#273A78 #782762 #786527 #27783C
square
#273A78 #782762 #786527 #27783C
split-complementary
#273A78 #783C27 #627827
monochromatic
#090D1C #18244A #273A78 #3650A6 #526EC7

Accessibility & contrast

On white

10.70
#273A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#273A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A78
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A78#FFFFFF#000000##FFFFFF
##273A781.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#033B77
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273a78;
/* rgb */ color: rgb(39, 58, 120);
/* oklch */ color: oklch(36.9% 0.108 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b6f9f',
    500: '#273a78',
    950: '#000000',
  },
}
SCSS
$custom: #273a78;
$custom-light: #6b6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#273a78",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 225.926,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36894,
    "c": 0.10841,
    "h": 268
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#273A78
secondary
#AA9551
accent
#B94DDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273A78

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

Preview Lab → · Contrast checker → · Palette generator →

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