#2B355B#2B355B

#2B355B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.068 H 271.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2B355B
RGBrgb(43, 53, 91)
HSLhsl(228, 36%, 26%)
HSVhsv(228, 53%, 36%)
CMYKcmyk(52.7%, 41.8%, 0%, 64.3%)
CIE-LABlab(23.05, 7.85, -24.13)
CIE-LCHlch(23.05, 25.38, 288.01°)
OKLaboklab(33.95% 0.0015 -0.0682)
OKLCHoklch(33.95% 0.068 271.2)
XYZxyz(4.1571, 3.8149, 10.4128)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B355B #5B512B
analogous
#2B4D5B #2B355B #392B5B
triadic
#2B355B #5B2B35 #355B2B
tetradic
#2B355B #5B2B4D #5B512B #2B5B39
square
#2B355B #5B2B4D #5B512B #2B5B39
split-complementary
#2B355B #5B392B #4D5B2B
monochromatic
#0A0C15 #171D31 #2B355B #3F4D85 #5366AE

Accessibility & contrast

On white

11.91
#2B355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B355B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B355B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B355B#FFFFFF#000000##FFFFFF
##2B355B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395D
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#183D43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b355b;
/* rgb */ color: rgb(43, 53, 91);
/* oklch */ color: oklch(33.9% 0.068 271.2);
Tailwind
colors: {
  custom: {
    50: '#686c89',
    500: '#2b355b',
    950: '#000000',
  },
}
SCSS
$custom: #2b355b;
$custom-light: #686c89;
$custom-dark: #000000;
JSON
{
  "hex": "#2b355b",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 227.5,
    "s": 35.821,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33947,
    "c": 0.0682,
    "h": 271.2
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#2B355B
secondary
#8D8155
accent
#B55CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2B355B

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

Preview Lab → · Contrast checker → · Palette generator →

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