#273398#273398

#273398 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.163 H 271.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#273398
RGBrgb(39, 51, 152)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 60%)
CMYKcmyk(74.3%, 66.4%, 0%, 40.4%)
CIE-LABlab(26.92, 31.22, -56.53)
CIE-LCHlch(26.92, 64.58, 298.91°)
OKLaboklab(38.25% 0.0027 -0.1634)
OKLCHoklch(38.25% 0.163 271)
XYZxyz(7.6861, 5.0652, 30.2723)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273398 #988C27
analogous
#276C98 #273398 #532798
triadic
#273398 #982733 #339827
tetradic
#273398 #98276C #988C27 #279853
square
#273398 #98276C #988C27 #279853
split-complementary
#273398 #985327 #6C9827
monochromatic
#0E1237 #1B2367 #273398 #3343C9 #636FD7

Accessibility & contrast

On white

10.43
#273398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273398
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273398#FFFFFF#000000##FFFFFF
##2733981.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273398;
/* rgb */ color: rgb(39, 51, 152);
/* oklch */ color: oklch(38.3% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#736bb7',
    500: '#273398',
    950: '#000000',
  },
}
SCSS
$custom: #273398;
$custom-light: #736bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#273398",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 233.628,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.16346,
    "h": 271
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#273398
secondary
#BCB25E
accent
#D245E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273398

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

Preview Lab → · Contrast checker → · Palette generator →

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