#273B97#273B97

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

Color values

HEX#273B97
RGBrgb(39, 59, 151)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 59%)
CMYKcmyk(74.2%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.88, 25.52, -52.71)
CIE-LCHlch(28.88, 58.56, 295.83°)
OKLaboklab(39.67% -0.0029 -0.1521)
OKLCHoklch(39.67% 0.152 268.9)
XYZxyz(7.9847, 5.7928, 29.9695)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B97 #978327
analogous
#277397 #273B97 #4B2797
triadic
#273B97 #97273B #3B9727
tetradic
#273B97 #972773 #978327 #27974B
square
#273B97 #972773 #978327 #27974B
split-complementary
#273B97 #974B27 #739727
monochromatic
#0E1536 #1A2866 #273B97 #344EC8 #6277D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273B97#FFFFFF#000000##FFFFFF
##273B971.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)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273b97;
/* rgb */ color: rgb(39, 59, 151);
/* oklch */ color: oklch(39.7% 0.152 268.9);
Tailwind
colors: {
  custom: {
    50: '#7270b6',
    500: '#273b97',
    950: '#000000',
  },
}
SCSS
$custom: #273b97;
$custom-light: #7270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273b97",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 229.286,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.15218,
    "h": 268.9
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#273B97
secondary
#BCAB5E
accent
#C646E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273B97

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

Preview Lab → · Contrast checker → · Palette generator →

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