#273276#273276

#273276 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.116 H 272.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#273276
RGBrgb(39, 50, 118)
HSLhsl(232, 50%, 31%)
HSVhsv(232, 67%, 46%)
CMYKcmyk(66.9%, 57.6%, 0%, 53.7%)
CIE-LABlab(23.74, 19.09, -40.51)
CIE-LCHlch(23.74, 44.78, 295.23°)
OKLaboklab(34.99% 0.0042 -0.1164)
OKLCHoklch(34.99% 0.116 272)
XYZxyz(5.2462, 4.0201, 17.6355)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273276 #766B27
analogous
#275976 #273276 #432776
triadic
#273276 #762732 #327627
tetradic
#273276 #762759 #766B27 #277643
square
#273276 #762759 #766B27 #277643
split-complementary
#273276 #764327 #597627
monochromatic
#090B1A #181F48 #273276 #3645A4 #5262C6

Accessibility & contrast

On white

11.64
#273276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#273276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273276
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273276#FFFFFF#000000##FFFFFF
##2732761.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273276;
/* rgb */ color: rgb(39, 50, 118);
/* oklch */ color: oklch(35.0% 0.116 272.0);
Tailwind
colors: {
  custom: {
    50: '#6b699e',
    500: '#273276',
    950: '#000000',
  },
}
SCSS
$custom: #273276;
$custom-light: #6b699e;
$custom-dark: #000000;
JSON
{
  "hex": "#273276",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 231.646,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34992,
    "c": 0.11647,
    "h": 272
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#273276
secondary
#A89C51
accent
#C64EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273276

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

Preview Lab → · Contrast checker → · Palette generator →

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