#273099#273099

#273099 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.168 H 271.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#273099
RGBrgb(39, 48, 153)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 75%, 60%)
CMYKcmyk(74.5%, 68.6%, 0%, 40%)
CIE-LABlab(26.29, 33.53, -58.19)
CIE-LCHlch(26.29, 67.15, 299.95°)
OKLaboklab(37.82% 0.0046 -0.1683)
OKLCHoklch(37.82% 0.168 271.5)
XYZxyz(7.6415, 4.8444, 30.6632)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273099 #999027
analogous
#276999 #273099 #572799
triadic
#273099 #992730 #309927
tetradic
#273099 #992769 #999027 #279957
square
#273099 #992769 #999027 #279957
split-complementary
#273099 #995727 #699927
monochromatic
#0E1137 #1B2168 #273099 #333FCA #636CD7

Accessibility & contrast

On white

10.67
#273099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273099
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273099#FFFFFF#000000##FFFFFF
##2730991.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273099;
/* rgb */ color: rgb(39, 48, 153);
/* oklch */ color: oklch(37.8% 0.168 271.5);
Tailwind
colors: {
  custom: {
    50: '#7368b8',
    500: '#273099',
    950: '#000000',
  },
}
SCSS
$custom: #273099;
$custom-light: #7368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273099",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 235.263,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37822,
    "c": 0.16834,
    "h": 271.5
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#273099
secondary
#BDB55F
accent
#D645E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273099

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

Preview Lab → · Contrast checker → · Palette generator →

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