#2B2D5D#2B2D5D

#2B2D5D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.084 H 278.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2D5D
RGBrgb(43, 45, 93)
HSLhsl(238, 37%, 27%)
HSVhsv(238, 54%, 36%)
CMYKcmyk(53.8%, 51.6%, 0%, 63.5%)
CIE-LABlab(20.75, 14.18, -29.10)
CIE-LCHlch(20.75, 32.38, 295.98°)
OKLaboklab(32.24% 0.0128 -0.0828)
OKLCHoklch(32.24% 0.084 278.8)
XYZxyz(3.9098, 3.1805, 10.7617)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D5D #5D5B2B
analogous
#2B465D #2B2D5D #422B5D
triadic
#2B2D5D #5D2B2D #2D5D2B
tetradic
#2B2D5D #5D2B46 #5D5B2B #2B5D42
square
#2B2D5D #5D2B46 #5D5B2B #2B5D42
split-complementary
#2B2D5D #5D422B #465D2B
monochromatic
#0A0A15 #181933 #2B2D5D #3E4187 #5357AF

Accessibility & contrast

On white

12.83
#2B2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B2D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D5D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D5D#FFFFFF#000000##FFFFFF
##2B2D5D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#173740
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2d5d;
/* rgb */ color: rgb(43, 45, 93);
/* oklch */ color: oklch(32.2% 0.084 278.8);
Tailwind
colors: {
  custom: {
    50: '#68658b',
    500: '#2b2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d5d;
$custom-light: #68658b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d5d",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 237.6,
    "s": 36.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32235,
    "c": 0.08379,
    "h": 278.8
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#2B2D5D
secondary
#8F8D55
accent
#C85BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #2B2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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