#273D89#273D89

#273D89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.130 H 267.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#273D89
RGBrgb(39, 61, 137)
HSLhsl(227, 56%, 35%)
HSVhsv(227, 72%, 54%)
CMYKcmyk(71.5%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.31, 18.77, -45.03)
CIE-LCHlch(28.31, 48.78, 292.63°)
OKLaboklab(38.9% -0.0051 -0.1295)
OKLCHoklch(38.9% 0.13 267.8)
XYZxyz(7.0192, 5.5743, 24.3681)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D89 #897327
analogous
#276E89 #273D89 #422789
triadic
#273D89 #89273D #3D8927
tetradic
#273D89 #89276E #897327 #278942
square
#273D89 #89276E #897327 #278942
split-complementary
#273D89 #894227 #6E8927
monochromatic
#0C132A #192859 #273D89 #3552B9 #5A75D0

Accessibility & contrast

On white

9.93
#273D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#273D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D89
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D89#FFFFFF#000000##FFFFFF
##273D891.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273d89;
/* rgb */ color: rgb(39, 61, 137);
/* oklch */ color: oklch(38.9% 0.130 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e72ac',
    500: '#273d89',
    950: '#000000',
  },
}
SCSS
$custom: #273d89;
$custom-light: #6e72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#273d89",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 226.531,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.12964,
    "h": 267.8
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#273D89
secondary
#B5A057
accent
#BD49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273D89

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

Preview Lab → · Contrast checker → · Palette generator →

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