#2B3471#2B3471

#2B3471 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.105 H 273.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2B3471
RGBrgb(43, 52, 113)
HSLhsl(232, 45%, 31%)
HSVhsv(232, 62%, 44%)
CMYKcmyk(61.9%, 54%, 0%, 55.7%)
CIE-LABlab(24.20, 16.59, -36.56)
CIE-LCHlch(24.20, 40.15, 294.41°)
OKLaboklab(35.29% 0.0064 -0.1046)
OKLCHoklch(35.29% 0.105 273.5)
XYZxyz(5.2039, 4.1614, 16.1486)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3471 #71682B
analogous
#2B5771 #2B3471 #452B71
triadic
#2B3471 #712B34 #34712B
tetradic
#2B3471 #712B57 #71682B #2B7145
square
#2B3471 #712B57 #71682B #2B7145
split-complementary
#2B3471 #71452B #57712B
monochromatic
#090B18 #1A2045 #2B3471 #3C489D #5765BF

Accessibility & contrast

On white

11.46
#2B3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B3471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3471
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3471#FFFFFF#000000##FFFFFF
##2B34711.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3471;
/* rgb */ color: rgb(43, 52, 113);
/* oklch */ color: oklch(35.3% 0.105 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c6b9a',
    500: '#2b3471',
    950: '#000000',
  },
}
SCSS
$custom: #2b3471;
$custom-light: #6c6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3471",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 232.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.10484,
    "h": 273.5
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#2B3471
secondary
#A39955
accent
#C453D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3471

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

Preview Lab → · Contrast checker → · Palette generator →

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