#273B87#273B87

#273B87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.129 H 268.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#273B87
RGBrgb(39, 59, 135)
HSLhsl(228, 55%, 34%)
HSVhsv(228, 71%, 53%)
CMYKcmyk(71.1%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.59, 19.38, -44.95)
CIE-LCHlch(27.59, 48.95, 293.32°)
OKLaboklab(38.31% -0.0034 -0.1293)
OKLCHoklch(38.31% 0.129 268.5)
XYZxyz(6.7723, 5.3079, 23.5846)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B87 #877327
analogous
#276B87 #273B87 #432787
triadic
#273B87 #87273B #3B8727
tetradic
#273B87 #87276B #877327 #278743
square
#273B87 #87276B #877327 #278743
split-complementary
#273B87 #874327 #6B8727
monochromatic
#0C1128 #192658 #273B87 #3550B6 #5972CF

Accessibility & contrast

On white

10.19
#273B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B87
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B87#FFFFFF#000000##FFFFFF
##273B871.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273b87;
/* rgb */ color: rgb(39, 59, 135);
/* oklch */ color: oklch(38.3% 0.129 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e70ab',
    500: '#273b87',
    950: '#000000',
  },
}
SCSS
$custom: #273b87;
$custom-light: #6e70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273b87",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 227.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.12939,
    "h": 268.5
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#273B87
secondary
#B4A056
accent
#BF49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B87

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

Preview Lab → · Contrast checker → · Palette generator →

#273B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva