#273142#273142

#273142 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.034 H 260.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#273142
RGBrgb(39, 49, 66)
HSLhsl(218, 26%, 21%)
HSVhsv(218, 41%, 26%)
CMYKcmyk(40.9%, 25.8%, 0%, 74.1%)
CIE-LABlab(20.13, 0.84, -12.01)
CIE-LCHlch(20.13, 12.04, 273.99°)
OKLaboklab(31.16% -0.0053 -0.0333)
OKLCHoklch(31.16% 0.034 260.9)
XYZxyz(2.9181, 3.0212, 5.5826)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273142 #423827
analogous
#273E42 #273142 #2A2742
triadic
#273142 #422731 #314227
tetradic
#273142 #42273E #423827 #27422A
square
#273142 #42273E #423827 #27422A
split-complementary
#273142 #422A27 #3E4227
monochromatic
#0B0E13 #10141C #273142 #3E4E68 #546A8F

Accessibility & contrast

On white

13.09
#273142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#273142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273142
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273142#FFFFFF#000000##FFFFFF
##2731421.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3243
Deuteranopia (green-blind)
#282F42
Tritanopia (blue-blind)
#1F3537
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #273142;
/* rgb */ color: rgb(39, 49, 66);
/* oklch */ color: oklch(31.2% 0.034 260.9);
Tailwind
colors: {
  custom: {
    50: '#626876',
    500: '#273142',
    950: '#000000',
  },
}
SCSS
$custom: #273142;
$custom-light: #626876;
$custom-dark: #000000;
JSON
{
  "hex": "#273142",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 217.778,
    "s": 25.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31164,
    "c": 0.03369,
    "h": 260.9
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#273142
secondary
#746751
accent
#A066C2
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #273142

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

Preview Lab → · Contrast checker → · Palette generator →

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