#273889#273889

#273889 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.136 H 269.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#273889
RGBrgb(39, 56, 137)
HSLhsl(230, 56%, 35%)
HSVhsv(230, 72%, 54%)
CMYKcmyk(71.5%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.92, 22.21, -47.29)
CIE-LCHlch(26.92, 52.24, 295.16°)
OKLaboklab(37.85% -0.0007 -0.1363)
OKLCHoklch(37.85% 0.136 269.7)
XYZxyz(6.7647, 5.0652, 24.2832)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273889 #897827
analogous
#276989 #273889 #472789
triadic
#273889 #892738 #388927
tetradic
#273889 #892769 #897827 #278947
square
#273889 #892769 #897827 #278947
split-complementary
#273889 #894727 #698927
monochromatic
#0C112A #192559 #273889 #354BB9 #5A6FD0

Accessibility & contrast

On white

10.43
#273889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273889
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273889#FFFFFF#000000##FFFFFF
##2738891.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273889;
/* rgb */ color: rgb(39, 56, 137);
/* oklch */ color: oklch(37.9% 0.136 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f6eac',
    500: '#273889',
    950: '#000000',
  },
}
SCSS
$custom: #273889;
$custom-light: #6f6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#273889",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 229.592,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.13626,
    "h": 269.7
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#273889
secondary
#B5A557
accent
#C549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273889

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

Preview Lab → · Contrast checker → · Palette generator →

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