#273598#273598

#273598 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.161 H 270.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#273598
RGBrgb(39, 53, 152)
HSLhsl(233, 59%, 37%)
HSVhsv(233, 74%, 60%)
CMYKcmyk(74.3%, 65.1%, 0%, 40.4%)
CIE-LABlab(27.42, 29.91, -55.72)
CIE-LCHlch(27.42, 63.24, 298.22°)
OKLaboklab(38.62% 0.0014 -0.161)
OKLCHoklch(38.62% 0.161 270.5)
XYZxyz(7.7754, 5.2437, 30.3020)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273598 #988A27
analogous
#276E98 #273598 #512798
triadic
#273598 #982735 #359827
tetradic
#273598 #98276E #988A27 #279851
square
#273598 #98276E #988A27 #279851
split-complementary
#273598 #985127 #6E9827
monochromatic
#0E1337 #1B2467 #273598 #3346C9 #6371D7

Accessibility & contrast

On white

10.25
#273598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#273598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273598
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273598#FFFFFF#000000##FFFFFF
##2735981.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273598;
/* rgb */ color: rgb(39, 53, 152);
/* oklch */ color: oklch(38.6% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#736cb7',
    500: '#273598',
    950: '#000000',
  },
}
SCSS
$custom: #273598;
$custom-light: #736cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#273598",
  "rgb": {
    "r": 39,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 232.566,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38619,
    "c": 0.16104,
    "h": 270.5
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#273598
secondary
#BCB15E
accent
#CF45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273598

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

Preview Lab → · Contrast checker → · Palette generator →

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