#273B96#273B96

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

Color values

HEX#273B96
RGBrgb(39, 59, 150)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 59%)
CMYKcmyk(74%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.80, 25.14, -52.24)
CIE-LCHlch(28.80, 57.97, 295.70°)
OKLaboklab(39.59% -0.0029 -0.1508)
OKLCHoklch(39.59% 0.151 268.9)
XYZxyz(7.9038, 5.7604, 29.5436)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B96 #968227
analogous
#277396 #273B96 #4B2796
triadic
#273B96 #96273B #3B9627
tetradic
#273B96 #962773 #968227 #27964B
square
#273B96 #962773 #968227 #27964B
split-complementary
#273B96 #964B27 #739627
monochromatic
#0E1535 #1A2865 #273B96 #344EC7 #6176D6

Accessibility & contrast

On white

9.76
#273B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#273B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B96
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B96#FFFFFF#000000##FFFFFF
##273B961.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273b96;
/* rgb */ color: rgb(39, 59, 150);
/* oklch */ color: oklch(39.6% 0.151 268.9);
Tailwind
colors: {
  custom: {
    50: '#7270b6',
    500: '#273b96',
    950: '#000000',
  },
}
SCSS
$custom: #273b96;
$custom-light: #7270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273b96",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 229.189,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.15079,
    "h": 268.9
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273B96

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

Preview Lab → · Contrast checker → · Palette generator →

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