#273E97#273E97

#273E97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.148 H 268.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#273E97
RGBrgb(39, 62, 151)
HSLhsl(228, 59%, 37%)
HSVhsv(228, 74%, 59%)
CMYKcmyk(74.2%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.69, 23.49, -51.40)
CIE-LCHlch(29.69, 56.51, 294.56°)
OKLaboklab(40.28% -0.0052 -0.1483)
OKLCHoklch(40.28% 0.148 268)
XYZxyz(8.1433, 6.1101, 30.0224)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E97 #978027
analogous
#277697 #273E97 #482797
triadic
#273E97 #97273E #3E9727
tetradic
#273E97 #972776 #978027 #279748
square
#273E97 #972776 #978027 #279748
split-complementary
#273E97 #974827 #769727
monochromatic
#0E1636 #1A2A66 #273E97 #3452C8 #627AD6

Accessibility & contrast

On white

9.45
#273E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#273E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E97
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E97#FFFFFF#000000##FFFFFF
##273E971.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273e97;
/* rgb */ color: rgb(39, 62, 151);
/* oklch */ color: oklch(40.3% 0.148 268.0);
Tailwind
colors: {
  custom: {
    50: '#7272b6',
    500: '#273e97',
    950: '#000000',
  },
}
SCSS
$custom: #273e97;
$custom-light: #7272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273e97",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 227.679,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.14835,
    "h": 268
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#273E97
secondary
#BCA95E
accent
#C246E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273E97

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

Preview Lab → · Contrast checker → · Palette generator →

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