#273789#273789

#273789 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.138 H 270.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#273789
RGBrgb(39, 55, 137)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 54%)
CMYKcmyk(71.5%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.65, 22.89, -47.73)
CIE-LCHlch(26.65, 52.94, 295.63°)
OKLaboklab(37.65% 0.0001 -0.1376)
OKLCHoklch(37.65% 0.138 270.1)
XYZxyz(6.7167, 4.9692, 24.2672)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273789 #897927
analogous
#276889 #273789 #482789
triadic
#273789 #892737 #378927
tetradic
#273789 #892768 #897927 #278948
square
#273789 #892768 #897927 #278948
split-complementary
#273789 #894827 #688927
monochromatic
#0C112A #192459 #273789 #354AB9 #5A6ED0

Accessibility & contrast

On white

10.53
#273789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#273789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273789
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273789#FFFFFF#000000##FFFFFF
##2737891.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273789;
/* rgb */ color: rgb(39, 55, 137);
/* oklch */ color: oklch(37.6% 0.138 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f6dac',
    500: '#273789',
    950: '#000000',
  },
}
SCSS
$custom: #273789;
$custom-light: #6f6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#273789",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 230.204,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.13757,
    "h": 270.1
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#273789
secondary
#B5A657
accent
#C649DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273789

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

Preview Lab → · Contrast checker → · Palette generator →

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