#273187#273187

#273187 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.143 H 272.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#273187
RGBrgb(39, 49, 135)
HSLhsl(234, 55%, 34%)
HSVhsv(234, 71%, 53%)
CMYKcmyk(71.1%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.88, 26.22, -49.37)
CIE-LCHlch(24.88, 55.90, 297.97°)
OKLaboklab(36.28% 0.0051 -0.1424)
OKLCHoklch(36.28% 0.143 272.1)
XYZxyz(6.3067, 4.3766, 23.4294)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273187 #877D27
analogous
#276187 #273187 #4D2787
triadic
#273187 #872731 #318727
tetradic
#273187 #872761 #877D27 #27874D
square
#273187 #872761 #877D27 #27874D
split-complementary
#273187 #874D27 #618727
monochromatic
#0C0F28 #192058 #273187 #3542B6 #5966CF

Accessibility & contrast

On white

11.20
#273187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#273187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273187
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273187#FFFFFF#000000##FFFFFF
##2731871.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273187;
/* rgb */ color: rgb(39, 49, 135);
/* oklch */ color: oklch(36.3% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#273187',
    950: '#000000',
  },
}
SCSS
$custom: #273187;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273187",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 233.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.14253,
    "h": 272.1
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#273187
secondary
#B4AA56
accent
#CF49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273187

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

Preview Lab → · Contrast checker → · Palette generator →

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