#273887#273887

#273887 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.133 H 269.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#273887
RGBrgb(39, 56, 135)
HSLhsl(229, 55%, 34%)
HSVhsv(229, 71%, 53%)
CMYKcmyk(71.1%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.76, 21.44, -46.31)
CIE-LCHlch(26.76, 51.03, 294.85°)
OKLaboklab(37.68% -0.0008 -0.1334)
OKLCHoklch(37.68% 0.133 269.7)
XYZxyz(6.6226, 5.0083, 23.5347)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273887 #877627
analogous
#276887 #273887 #462787
triadic
#273887 #872738 #388727
tetradic
#273887 #872768 #877627 #278746
square
#273887 #872768 #877627 #278746
split-complementary
#273887 #874627 #688727
monochromatic
#0C1128 #192458 #273887 #354CB6 #596ECF

Accessibility & contrast

On white

10.49
#273887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273887
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273887#FFFFFF#000000##FFFFFF
##2738871.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273887;
/* rgb */ color: rgb(39, 56, 135);
/* oklch */ color: oklch(37.7% 0.133 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e6eab',
    500: '#273887',
    950: '#000000',
  },
}
SCSS
$custom: #273887;
$custom-light: #6e6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#273887",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 229.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.13337,
    "h": 269.7
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#273887
secondary
#B4A356
accent
#C449DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273887

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

Preview Lab → · Contrast checker → · Palette generator →

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