#2B2E50#2B2E50

#2B2E50 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.061 H 278.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2E50
RGBrgb(43, 46, 80)
HSLhsl(235, 30%, 24%)
HSVhsv(235, 46%, 31%)
CMYKcmyk(46.2%, 42.5%, 0%, 68.6%)
CIE-LABlab(20.23, 8.92, -21.29)
CIE-LCHlch(20.23, 23.08, 292.74°)
OKLaboklab(31.57% 0.009 -0.0599)
OKLCHoklch(31.57% 0.061 278.5)
XYZxyz(3.4208, 3.0466, 7.9957)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E50 #504D2B
analogous
#2B4150 #2B2E50 #3B2B50
triadic
#2B2E50 #502B2E #2E502B
tetradic
#2B2E50 #502B41 #504D2B #2B503B
square
#2B2E50 #502B41 #504D2B #2B503B
split-complementary
#2B2E50 #503B2B #41502B
monochromatic
#0B0B14 #161728 #2B2E50 #404578 #565CA0

Accessibility & contrast

On white

13.05
#2B2E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2E50
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E50#FFFFFF#000000##FFFFFF
##2B2E501.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223251
Deuteranopia (green-blind)
#202F4F
Tritanopia (blue-blind)
#1F353B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2e50;
/* rgb */ color: rgb(43, 46, 80);
/* oklch */ color: oklch(31.6% 0.061 278.5);
Tailwind
colors: {
  custom: {
    50: '#666681',
    500: '#2b2e50',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e50;
$custom-light: #666681;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e50",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 235.135,
    "s": 30.081,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31569,
    "c": 0.06058,
    "h": 278.5
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#2B2E50
secondary
#827E55
accent
#BE61C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2B2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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