#2B3571#2B3571

#2B3571 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.103 H 272.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2B3571
RGBrgb(43, 53, 113)
HSLhsl(231, 45%, 31%)
HSVhsv(231, 62%, 44%)
CMYKcmyk(61.9%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.49, 15.90, -36.09)
CIE-LCHlch(24.49, 39.44, 293.77°)
OKLaboklab(35.51% 0.0053 -0.1033)
OKLCHoklch(35.51% 0.103 272.9)
XYZxyz(5.2490, 4.2516, 16.1636)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3571 #71672B
analogous
#2B5871 #2B3571 #442B71
triadic
#2B3571 #712B35 #35712B
tetradic
#2B3571 #712B58 #71672B #2B7144
square
#2B3571 #712B58 #71672B #2B7144
split-complementary
#2B3571 #71442B #58712B
monochromatic
#090B18 #1A2045 #2B3571 #3C4A9D #5766BF

Accessibility & contrast

On white

11.35
#2B3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3571
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3571#FFFFFF#000000##FFFFFF
##2B35711.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3571;
/* rgb */ color: rgb(43, 53, 113);
/* oklch */ color: oklch(35.5% 0.103 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c6c9a',
    500: '#2b3571',
    950: '#000000',
  },
}
SCSS
$custom: #2b3571;
$custom-light: #6c6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3571",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 231.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35507,
    "c": 0.1034,
    "h": 272.9
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#2B3571
secondary
#A39855
accent
#C253D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3571

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

Preview Lab → · Contrast checker → · Palette generator →

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