#273045#273045

#273045 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.040 H 266.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#273045
RGBrgb(39, 48, 69)
HSLhsl(222, 28%, 21%)
HSVhsv(222, 43%, 27%)
CMYKcmyk(43.5%, 30.4%, 0%, 72.9%)
CIE-LABlab(19.94, 2.52, -14.34)
CIE-LCHlch(19.94, 14.55, 279.96°)
OKLaboklab(31.07% -0.0026 -0.0399)
OKLCHoklch(31.07% 0.04 266.2)
XYZxyz(2.9675, 2.9748, 6.0469)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273045 #453C27
analogous
#273F45 #273045 #2D2745
triadic
#273045 #452730 #304527
tetradic
#273045 #45273F #453C27 #27452D
square
#273045 #45273F #453C27 #27452D
split-complementary
#273045 #452D27 #3F4527
monochromatic
#0B0E14 #11151E #273045 #3D4B6C #536693

Accessibility & contrast

On white

13.17
#273045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273045
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273045#FFFFFF#000000##FFFFFF
##2730451.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293246
Deuteranopia (green-blind)
#262F45
Tritanopia (blue-blind)
#1D3437
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #273045;
/* rgb */ color: rgb(39, 48, 69);
/* oklch */ color: oklch(31.1% 0.040 266.2);
Tailwind
colors: {
  custom: {
    50: '#626878',
    500: '#273045',
    950: '#000000',
  },
}
SCSS
$custom: #273045;
$custom-light: #626878;
$custom-dark: #000000;
JSON
{
  "hex": "#273045",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 222,
    "s": 27.778,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31067,
    "c": 0.03999,
    "h": 266.2
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#273045
secondary
#776C50
accent
#A764C4
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050609
muted
#797A7B

Preview Lab

Preview with #273045

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

Preview Lab → · Contrast checker → · Palette generator →

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