#273278#273278

#273278 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.119 H 272.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#273278
RGBrgb(39, 50, 120)
HSLhsl(232, 51%, 31%)
HSVhsv(232, 68%, 47%)
CMYKcmyk(67.5%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.90, 19.85, -41.52)
CIE-LCHlch(23.90, 46.02, 295.55°)
OKLaboklab(35.16% 0.0042 -0.1194)
OKLCHoklch(35.16% 0.119 272)
XYZxyz(5.3663, 4.0681, 18.2681)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273278 #786D27
analogous
#275A78 #273278 #442778
triadic
#273278 #782732 #327827
tetradic
#273278 #78275A #786D27 #277844
square
#273278 #78275A #786D27 #277844
split-complementary
#273278 #784427 #5A7827
monochromatic
#090C1C #181F4A #273278 #3645A6 #5262C7

Accessibility & contrast

On white

11.58
#273278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#273278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273278
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273278#FFFFFF#000000##FFFFFF
##2732781.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #273278;
/* rgb */ color: rgb(39, 50, 120);
/* oklch */ color: oklch(35.2% 0.119 272.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a0',
    500: '#273278',
    950: '#000000',
  },
}
SCSS
$custom: #273278;
$custom-light: #6b69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273278",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 231.852,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.11947,
    "h": 272
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#273278
secondary
#AA9E51
accent
#C74DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #273278

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

Preview Lab → · Contrast checker → · Palette generator →

#273278 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva