#273372#273372

#273372 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.109 H 271.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#273372
RGBrgb(39, 51, 114)
HSLhsl(230, 49%, 30%)
HSVhsv(230, 66%, 45%)
CMYKcmyk(65.8%, 55.3%, 0%, 55.3%)
CIE-LABlab(23.72, 16.86, -37.99)
CIE-LCHlch(23.72, 41.56, 293.94°)
OKLaboklab(34.88% 0.0029 -0.109)
OKLCHoklch(34.88% 0.109 271.5)
XYZxyz(5.0568, 4.0135, 16.4245)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273372 #726627
analogous
#275972 #273372 #402772
triadic
#273372 #722733 #337227
tetradic
#273372 #722759 #726627 #277240
square
#273372 #722759 #726627 #277240
split-complementary
#273372 #724027 #597227
monochromatic
#080A17 #171F44 #273372 #3747A0 #5063C3

Accessibility & contrast

On white

11.65
#273372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273372
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273372#FFFFFF#000000##FFFFFF
##2733721.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273372;
/* rgb */ color: rgb(39, 51, 114);
/* oklch */ color: oklch(34.9% 0.109 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a6a9b',
    500: '#273372',
    950: '#000000',
  },
}
SCSS
$custom: #273372;
$custom-light: #6a6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#273372",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 230.4,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.34878,
    "c": 0.10902,
    "h": 271.5
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#273372
secondary
#A49750
accent
#C34FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273372

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

Preview Lab → · Contrast checker → · Palette generator →

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