#273E96#273E96

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

Color values

HEX#273E96
RGBrgb(39, 62, 150)
HSLhsl(228, 59%, 37%)
HSVhsv(228, 74%, 59%)
CMYKcmyk(74%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.61, 23.11, -50.92)
CIE-LCHlch(29.61, 55.92, 294.41°)
OKLaboklab(40.19% -0.0052 -0.1468)
OKLCHoklch(40.19% 0.147 268)
XYZxyz(8.0624, 6.0777, 29.5965)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E96 #967F27
analogous
#277596 #273E96 #482796
triadic
#273E96 #96273E #3E9627
tetradic
#273E96 #962775 #967F27 #279648
square
#273E96 #962775 #967F27 #279648
split-complementary
#273E96 #964827 #759627
monochromatic
#0E1635 #1A2A65 #273E96 #3452C7 #617AD6

Accessibility & contrast

On white

9.48
#273E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E96
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E96#FFFFFF#000000##FFFFFF
##273E961.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273e96;
/* rgb */ color: rgb(39, 62, 150);
/* oklch */ color: oklch(40.2% 0.147 268.0);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#273e96',
    950: '#000000',
  },
}
SCSS
$custom: #273e96;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273e96",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 227.568,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.14694,
    "h": 268
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273E96

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

Preview Lab → · Contrast checker → · Palette generator →

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