#2B313E#2B313E

#2B313E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.3% C 0.025 H 265.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2B313E
RGBrgb(43, 49, 62)
HSLhsl(221, 18%, 21%)
HSVhsv(221, 31%, 24%)
CMYKcmyk(30.6%, 21%, 0%, 75.7%)
CIE-LABlab(20.27, 1.02, -9.03)
CIE-LCHlch(20.27, 9.09, 276.45°)
OKLaboklab(31.3% -0.0019 -0.0248)
OKLCHoklch(31.3% 0.025 265.5)
XYZxyz(2.9638, 3.0579, 4.9906)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B313E #3E382B
analogous
#2B3A3E #2B313E #2E2B3E
triadic
#2B313E #3E2B31 #313E2B
tetradic
#2B313E #3E2B3A #3E382B #2B3E2E
square
#2B313E #3E2B3A #3E382B #2B3E2E
split-complementary
#2B313E #3E2E2B #3A3E2B
monochromatic
#0D0E12 #12141A #2B313E #444E62 #5D6A86

Accessibility & contrast

On white

13.03
#2B313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B313E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B313E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B313E#FFFFFF#000000##FFFFFF
##2B313E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D323F
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#263435
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b313e;
/* rgb */ color: rgb(43, 49, 62);
/* oklch */ color: oklch(31.3% 0.025 265.5);
Tailwind
colors: {
  custom: {
    50: '#646973',
    500: '#2b313e',
    950: '#000000',
  },
}
SCSS
$custom: #2b313e;
$custom-light: #646973;
$custom-dark: #000000;
JSON
{
  "hex": "#2b313e",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 221.053,
    "s": 18.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31302,
    "c": 0.02486,
    "h": 265.5
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#2B313E
secondary
#6F6756
accent
#A26DBB
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2B313E

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

Preview Lab → · Contrast checker → · Palette generator →

#2B313E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva