#273497#273497

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

Color values

HEX#273497
RGBrgb(39, 52, 151)
HSLhsl(233, 59%, 37%)
HSVhsv(233, 74%, 59%)
CMYKcmyk(74.2%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.08, 30.19, -55.67)
CIE-LCHlch(27.08, 63.33, 298.48°)
OKLaboklab(38.34% 0.0021 -0.1609)
OKLCHoklch(38.34% 0.161 270.8)
XYZxyz(7.6487, 5.1209, 29.8575)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273497 #978A27
analogous
#276C97 #273497 #522797
triadic
#273497 #972734 #349727
tetradic
#273497 #97276C #978A27 #279752
square
#273497 #97276C #978A27 #279752
split-complementary
#273497 #975227 #6C9727
monochromatic
#0E1336 #1A2366 #273497 #3445C8 #626FD6

Accessibility & contrast

On white

10.37
#273497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273497
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273497#FFFFFF#000000##FFFFFF
##2734971.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273497;
/* rgb */ color: rgb(39, 52, 151);
/* oklch */ color: oklch(38.3% 0.161 270.8);
Tailwind
colors: {
  custom: {
    50: '#726bb7',
    500: '#273497',
    950: '#000000',
  },
}
SCSS
$custom: #273497;
$custom-light: #726bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#273497",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 233.036,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.1609,
    "h": 270.8
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#273497
secondary
#BCB15E
accent
#D046E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273497

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

Preview Lab → · Contrast checker → · Palette generator →

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