#273698#273698

#273698 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.160 H 270.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#273698
RGBrgb(39, 54, 152)
HSLhsl(232, 59%, 37%)
HSVhsv(232, 74%, 60%)
CMYKcmyk(74.3%, 64.5%, 0%, 40.4%)
CIE-LABlab(27.67, 29.24, -55.30)
CIE-LCHlch(27.67, 62.56, 297.87°)
OKLaboklab(38.81% 0.0007 -0.1598)
OKLCHoklch(38.81% 0.16 270.3)
XYZxyz(7.8214, 5.3359, 30.3174)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273698 #988927
analogous
#276F98 #273698 #502798
triadic
#273698 #982736 #369827
tetradic
#273698 #98276F #988927 #279850
square
#273698 #98276F #988927 #279850
split-complementary
#273698 #985027 #6F9827
monochromatic
#0E1337 #1B2567 #273698 #3347C9 #6372D7

Accessibility & contrast

On white

10.16
#273698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#273698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273698
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273698#FFFFFF#000000##FFFFFF
##2736981.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273698;
/* rgb */ color: rgb(39, 54, 152);
/* oklch */ color: oklch(38.8% 0.160 270.3);
Tailwind
colors: {
  custom: {
    50: '#726db7',
    500: '#273698',
    950: '#000000',
  },
}
SCSS
$custom: #273698;
$custom-light: #726db7;
$custom-dark: #000000;
JSON
{
  "hex": "#273698",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 232.035,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.15981,
    "h": 270.3
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#273698
secondary
#BCB05E
accent
#CE45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273698

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

Preview Lab → · Contrast checker → · Palette generator →

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