#273287#273287

#273287 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.141 H 271.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#273287
RGBrgb(39, 50, 135)
HSLhsl(233, 55%, 34%)
HSVhsv(233, 71%, 53%)
CMYKcmyk(71.1%, 63%, 0%, 47.1%)
CIE-LABlab(25.14, 25.54, -48.94)
CIE-LCHlch(25.14, 55.20, 297.56°)
OKLaboklab(36.48% 0.0043 -0.1412)
OKLCHoklch(36.48% 0.141 271.7)
XYZxyz(6.3490, 4.4612, 23.4435)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273287 #877C27
analogous
#276287 #273287 #4C2787
triadic
#273287 #872732 #328727
tetradic
#273287 #872762 #877C27 #27874C
square
#273287 #872762 #877C27 #27874C
split-complementary
#273287 #874C27 #628727
monochromatic
#0C0F28 #192058 #273287 #3544B6 #5967CF

Accessibility & contrast

On white

11.10
#273287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#273287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273287
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273287#FFFFFF#000000##FFFFFF
##2732871.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #273287;
/* rgb */ color: rgb(39, 50, 135);
/* oklch */ color: oklch(36.5% 0.141 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#273287',
    950: '#000000',
  },
}
SCSS
$custom: #273287;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273287",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 233.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36477,
    "c": 0.14125,
    "h": 271.7
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#273287
secondary
#B4A956
accent
#CD49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273287

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

Preview Lab → · Contrast checker → · Palette generator →

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