#273899#273899

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

Color values

HEX#273899
RGBrgb(39, 56, 153)
HSLhsl(231, 59%, 38%)
HSVhsv(231, 75%, 60%)
CMYKcmyk(74.5%, 63.4%, 0%, 40%)
CIE-LABlab(28.27, 28.29, -54.93)
CIE-LCHlch(28.27, 61.79, 297.25°)
OKLaboklab(39.27% -0.0007 -0.1587)
OKLCHoklch(39.27% 0.159 269.7)
XYZxyz(7.9987, 5.5588, 30.7822)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273899 #998827
analogous
#277199 #273899 #4F2799
triadic
#273899 #992738 #389927
tetradic
#273899 #992771 #998827 #27994F
square
#273899 #992771 #998827 #27994F
split-complementary
#273899 #994F27 #719927
monochromatic
#0E1437 #1B2668 #273899 #334ACA #6374D7

Accessibility & contrast

On white

9.94
#273899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273899
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273899#FFFFFF#000000##FFFFFF
##2738991.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273899;
/* rgb */ color: rgb(39, 56, 153);
/* oklch */ color: oklch(39.3% 0.159 269.7);
Tailwind
colors: {
  custom: {
    50: '#726eb8',
    500: '#273899',
    950: '#000000',
  },
}
SCSS
$custom: #273899;
$custom-light: #726eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#273899",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 231.053,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.15871,
    "h": 269.7
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#273899
secondary
#BDAF5F
accent
#CB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273899

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

Preview Lab → · Contrast checker → · Palette generator →

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