#273997#273997

#273997 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.155 H 269.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#273997
RGBrgb(39, 57, 151)
HSLhsl(230, 59%, 37%)
HSVhsv(230, 74%, 59%)
CMYKcmyk(74.2%, 62.3%, 0%, 40.8%)
CIE-LABlab(28.36, 26.86, -53.57)
CIE-LCHlch(28.36, 59.93, 296.63°)
OKLaboklab(39.28% -0.0014 -0.1547)
OKLCHoklch(39.28% 0.155 269.5)
XYZxyz(7.8838, 5.5911, 29.9359)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273997 #978527
analogous
#277197 #273997 #4D2797
triadic
#273997 #972739 #399727
tetradic
#273997 #972771 #978527 #27974D
square
#273997 #972771 #978527 #27974D
split-complementary
#273997 #974D27 #719727
monochromatic
#0E1436 #1A2766 #273997 #344BC8 #6275D6

Accessibility & contrast

On white

9.91
#273997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#273997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273997
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273997#FFFFFF#000000##FFFFFF
##2739971.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273997;
/* rgb */ color: rgb(39, 57, 151);
/* oklch */ color: oklch(39.3% 0.155 269.5);
Tailwind
colors: {
  custom: {
    50: '#726fb6',
    500: '#273997',
    950: '#000000',
  },
}
SCSS
$custom: #273997;
$custom-light: #726fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#273997",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 230.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.15471,
    "h": 269.5
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#273997
secondary
#BCAD5E
accent
#C946E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273997

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

Preview Lab → · Contrast checker → · Palette generator →

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