#273199#273199

#273199 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.167 H 271.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#273199
RGBrgb(39, 49, 153)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 75%, 60%)
CMYKcmyk(74.5%, 68%, 0%, 40%)
CIE-LABlab(26.53, 32.89, -57.79)
CIE-LCHlch(26.53, 66.49, 299.64°)
OKLaboklab(38% 0.0039 -0.1671)
OKLCHoklch(38% 0.167 271.3)
XYZxyz(7.6828, 4.9271, 30.6769)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273199 #998F27
analogous
#276A99 #273199 #562799
triadic
#273199 #992731 #319927
tetradic
#273199 #99276A #998F27 #279956
square
#273199 #99276A #998F27 #279956
split-complementary
#273199 #995627 #6A9927
monochromatic
#0E1237 #1B2168 #273199 #3341CA #636DD7

Accessibility & contrast

On white

10.58
#273199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#273199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273199
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273199#FFFFFF#000000##FFFFFF
##2731991.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273199;
/* rgb */ color: rgb(39, 49, 153);
/* oklch */ color: oklch(38.0% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#7369b8',
    500: '#273199',
    950: '#000000',
  },
}
SCSS
$custom: #273199;
$custom-light: #7369b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273199",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 234.737,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37996,
    "c": 0.16718,
    "h": 271.3
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273199

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

Preview Lab → · Contrast checker → · Palette generator →

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