#273B99#273B99

#273B99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.155 H 268.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#273B99
RGBrgb(39, 59, 153)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 75%, 60%)
CMYKcmyk(74.5%, 61.4%, 0%, 40%)
CIE-LABlab(29.05, 26.28, -53.66)
CIE-LCHlch(29.05, 59.75, 296.09°)
OKLaboklab(39.85% -0.0029 -0.1549)
OKLCHoklch(39.85% 0.155 268.9)
XYZxyz(8.1485, 5.8583, 30.8321)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B99 #998527
analogous
#277499 #273B99 #4C2799
triadic
#273B99 #99273B #3B9927
tetradic
#273B99 #992774 #998527 #27994C
square
#273B99 #992774 #998527 #27994C
split-complementary
#273B99 #994C27 #749927
monochromatic
#0E1537 #1B2868 #273B99 #334ECA #6378D7

Accessibility & contrast

On white

9.67
#273B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#273B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B99
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B99#FFFFFF#000000##FFFFFF
##273B991.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273b99;
/* rgb */ color: rgb(39, 59, 153);
/* oklch */ color: oklch(39.9% 0.155 268.9);
Tailwind
colors: {
  custom: {
    50: '#7270b8',
    500: '#273b99',
    950: '#000000',
  },
}
SCSS
$custom: #273b99;
$custom-light: #7270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273b99",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 229.474,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39853,
    "c": 0.15496,
    "h": 268.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#273B99
secondary
#BDAC5F
accent
#C745E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273B99

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

Preview Lab → · Contrast checker → · Palette generator →

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