#273151#273151

#273151 is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.0% C 0.059 H 269.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#273151
RGBrgb(39, 49, 81)
HSLhsl(226, 35%, 24%)
HSVhsv(226, 52%, 32%)
CMYKcmyk(51.9%, 39.5%, 0%, 68.2%)
CIE-LABlab(20.91, 5.96, -20.90)
CIE-LCHlch(20.91, 21.74, 285.93°)
OKLaboklab(32.03% -0.0003 -0.0589)
OKLCHoklch(32.03% 0.059 269.7)
XYZxyz(3.4197, 3.2218, 8.2247)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273151 #514727
analogous
#274651 #273151 #322751
triadic
#273151 #512731 #315127
tetradic
#273151 #512746 #514727 #275132
square
#273151 #512746 #514727 #275132
split-complementary
#273151 #513227 #465127
monochromatic
#0A0C15 #131828 #273151 #3B4A7A #4F63A4

Accessibility & contrast

On white

12.77
#273151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#273151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273151
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273151#FFFFFF#000000##FFFFFF
##2731511.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#213150
Tritanopia (blue-blind)
#17383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #273151;
/* rgb */ color: rgb(39, 49, 81);
/* oklch */ color: oklch(32.0% 0.059 269.7);
Tailwind
colors: {
  custom: {
    50: '#646882',
    500: '#273151',
    950: '#000000',
  },
}
SCSS
$custom: #273151;
$custom-light: #646882;
$custom-dark: #000000;
JSON
{
  "hex": "#273151",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 225.714,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3203,
    "c": 0.05889,
    "h": 269.7
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#273151
secondary
#847750
accent
#B15DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #273151

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

Preview Lab → · Contrast checker → · Palette generator →

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