#2B3045#2B3045

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

Color values

HEX#2B3045
RGBrgb(43, 48, 69)
HSLhsl(228, 23%, 22%)
HSVhsv(228, 38%, 27%)
CMYKcmyk(37.7%, 30.4%, 0%, 72.9%)
CIE-LABlab(20.27, 3.87, -13.80)
CIE-LCHlch(20.27, 14.33, 285.68°)
OKLaboklab(31.41% 0.0025 -0.0383)
OKLCHoklch(31.41% 0.038 273.7)
XYZxyz(3.1271, 3.0571, 6.0544)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3045 #45402B
analogous
#2B3D45 #2B3045 #332B45
triadic
#2B3045 #452B30 #30452B
tetradic
#2B3045 #452B3D #45402B #2B4533
square
#2B3045 #452B3D #45402B #2B4533
split-complementary
#2B3045 #45332B #3D452B
monochromatic
#0C0D13 #14161F #2B3045 #424A6B #5A6490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3045#FFFFFF#000000##FFFFFF
##2B30451.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)
#293246
Deuteranopia (green-blind)
#273044
Tritanopia (blue-blind)
#243437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b3045;
/* rgb */ color: rgb(43, 48, 69);
/* oklch */ color: oklch(31.4% 0.038 273.7);
Tailwind
colors: {
  custom: {
    50: '#656878',
    500: '#2b3045',
    950: '#000000',
  },
}
SCSS
$custom: #2b3045;
$custom-light: #656878;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3045",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 228.462,
    "s": 23.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31407,
    "c": 0.03837,
    "h": 273.7
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#2B3045
secondary
#767055
accent
#AF68C0
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050609
muted
#7A7A7B

Preview Lab

Preview with #2B3045

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

Preview Lab → · Contrast checker → · Palette generator →

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