#2B355C#2B355C

#2B355C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.070 H 271.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2B355C
RGBrgb(43, 53, 92)
HSLhsl(228, 36%, 26%)
HSVhsv(228, 53%, 36%)
CMYKcmyk(53.3%, 42.4%, 0%, 63.9%)
CIE-LABlab(23.11, 8.20, -24.70)
CIE-LCHlch(23.11, 26.02, 288.38°)
OKLaboklab(34.01% 0.0017 -0.0698)
OKLCHoklch(34.01% 0.07 271.4)
XYZxyz(4.2005, 3.8322, 10.6415)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B355C #5C522B
analogous
#2B4E5C #2B355C #3A2B5C
triadic
#2B355C #5C2B35 #355C2B
tetradic
#2B355C #5C2B4E #5C522B #2B5C3A
square
#2B355C #5C2B4E #5C522B #2B5C3A
split-complementary
#2B355C #5C3A2B #4E5C2B
monochromatic
#0A0C15 #181D32 #2B355C #3E4D86 #5366AF

Accessibility & contrast

On white

11.89
#2B355C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B355C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B355C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B355C#FFFFFF#000000##FFFFFF
##2B355C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395E
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#173D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b355c;
/* rgb */ color: rgb(43, 53, 92);
/* oklch */ color: oklch(34.0% 0.070 271.4);
Tailwind
colors: {
  custom: {
    50: '#686c8a',
    500: '#2b355c',
    950: '#000000',
  },
}
SCSS
$custom: #2b355c;
$custom-light: #686c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b355c",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 92
  },
  "hsl": {
    "h": 227.755,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.06985,
    "h": 271.4
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#2B355C
secondary
#8E8255
accent
#B55BCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2B355C

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

Preview Lab → · Contrast checker → · Palette generator →

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