#273F89#273F89

#273F89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.127 H 266.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#273F89
RGBrgb(39, 63, 137)
HSLhsl(225, 56%, 35%)
HSVhsv(225, 72%, 54%)
CMYKcmyk(71.5%, 54%, 0%, 46.3%)
CIE-LABlab(28.88, 17.40, -44.11)
CIE-LCHlch(28.88, 47.41, 291.53°)
OKLaboklab(39.32% -0.0069 -0.1268)
OKLCHoklch(39.32% 0.127 266.9)
XYZxyz(7.1280, 5.7918, 24.4043)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F89 #897127
analogous
#277089 #273F89 #402789
triadic
#273F89 #89273F #3F8927
tetradic
#273F89 #892770 #897127 #278940
square
#273F89 #892770 #897127 #278940
split-complementary
#273F89 #894027 #708927
monochromatic
#0C132A #192959 #273F89 #3555B9 #5A77D0

Accessibility & contrast

On white

9.73
#273F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#273F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F89
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F89#FFFFFF#000000##FFFFFF
##273F891.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273f89;
/* rgb */ color: rgb(39, 63, 137);
/* oklch */ color: oklch(39.3% 0.127 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e73ac',
    500: '#273f89',
    950: '#000000',
  },
}
SCSS
$custom: #273f89;
$custom-light: #6e73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#273f89",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 225.306,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.12699,
    "h": 266.9
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#273F89
secondary
#B59E57
accent
#BA49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273F89

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

Preview Lab → · Contrast checker → · Palette generator →

#273F89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva