#273299#273299

#273299 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.166 H 271.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#273299
RGBrgb(39, 50, 153)
HSLhsl(234, 59%, 38%)
HSVhsv(234, 75%, 60%)
CMYKcmyk(74.5%, 67.3%, 0%, 40%)
CIE-LABlab(26.77, 32.24, -57.40)
CIE-LCHlch(26.77, 65.83, 299.32°)
OKLaboklab(38.17% 0.0033 -0.166)
OKLCHoklch(38.17% 0.166 271.1)
XYZxyz(7.7251, 5.0116, 30.6910)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273299 #998E27
analogous
#276B99 #273299 #552799
triadic
#273299 #992732 #329927
tetradic
#273299 #99276B #998E27 #279955
square
#273299 #99276B #998E27 #279955
split-complementary
#273299 #995527 #6B9927
monochromatic
#0E1237 #1B2268 #273299 #3342CA #636ED7

Accessibility & contrast

On white

10.49
#273299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273299
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273299#FFFFFF#000000##FFFFFF
##2732991.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273299;
/* rgb */ color: rgb(39, 50, 153);
/* oklch */ color: oklch(38.2% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#736ab8',
    500: '#273299',
    950: '#000000',
  },
}
SCSS
$custom: #273299;
$custom-light: #736ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#273299",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 234.211,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.16599,
    "h": 271.1
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#273299
secondary
#BDB45F
accent
#D345E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273299

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

Preview Lab → · Contrast checker → · Palette generator →

#273299 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva