#273897#273897

#273897 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.156 H 269.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#273897
RGBrgb(39, 56, 151)
HSLhsl(231, 59%, 37%)
HSVhsv(231, 74%, 59%)
CMYKcmyk(74.2%, 62.9%, 0%, 40.8%)
CIE-LABlab(28.10, 27.54, -54.00)
CIE-LCHlch(28.10, 60.61, 297.02°)
OKLaboklab(39.09% -0.0007 -0.156)
OKLCHoklch(39.09% 0.156 269.8)
XYZxyz(7.8349, 5.4932, 29.9195)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273897 #978627
analogous
#277097 #273897 #4E2797
triadic
#273897 #972738 #389727
tetradic
#273897 #972770 #978627 #27974E
square
#273897 #972770 #978627 #27974E
split-complementary
#273897 #974E27 #709727
monochromatic
#0E1436 #1A2666 #273897 #344AC8 #6274D6

Accessibility & contrast

On white

10.01
#273897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273897
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273897#FFFFFF#000000##FFFFFF
##2738971.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273897;
/* rgb */ color: rgb(39, 56, 151);
/* oklch */ color: oklch(39.1% 0.156 269.8);
Tailwind
colors: {
  custom: {
    50: '#726eb6',
    500: '#273897',
    950: '#000000',
  },
}
SCSS
$custom: #273897;
$custom-light: #726eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#273897",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 230.893,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.15596,
    "h": 269.8
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#273897
secondary
#BCAE5E
accent
#CA46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273897

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

Preview Lab → · Contrast checker → · Palette generator →

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