#273399#273399

#273399 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.165 H 270.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#273399
RGBrgb(39, 51, 153)
HSLhsl(234, 59%, 38%)
HSVhsv(234, 75%, 60%)
CMYKcmyk(74.5%, 66.7%, 0%, 40%)
CIE-LABlab(27.01, 31.59, -56.99)
CIE-LCHlch(27.01, 65.16, 299.00°)
OKLaboklab(38.35% 0.0027 -0.1648)
OKLCHoklch(38.35% 0.165 270.9)
XYZxyz(7.7683, 5.0981, 30.7054)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273399 #998D27
analogous
#276C99 #273399 #542799
triadic
#273399 #992733 #339927
tetradic
#273399 #99276C #998D27 #279954
square
#273399 #99276C #998D27 #279954
split-complementary
#273399 #995427 #6C9927
monochromatic
#0E1237 #1B2368 #273399 #3343CA #636FD7

Accessibility & contrast

On white

10.40
#273399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#273399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273399
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273399#FFFFFF#000000##FFFFFF
##2733991.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273399;
/* rgb */ color: rgb(39, 51, 153);
/* oklch */ color: oklch(38.4% 0.165 270.9);
Tailwind
colors: {
  custom: {
    50: '#736bb8',
    500: '#273399',
    950: '#000000',
  },
}
SCSS
$custom: #273399;
$custom-light: #736bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#273399",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 233.684,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.1648,
    "h": 270.9
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#273399
secondary
#BDB35F
accent
#D245E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273399

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

Preview Lab → · Contrast checker → · Palette generator →

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