#2B3882#2B3882

#2B3882 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.125 H 271.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2B3882
RGBrgb(43, 56, 130)
HSLhsl(231, 50%, 34%)
HSVhsv(231, 67%, 51%)
CMYKcmyk(66.9%, 56.9%, 0%, 49%)
CIE-LABlab(26.60, 20.20, -43.43)
CIE-LCHlch(26.60, 47.90, 294.94°)
OKLaboklab(37.5% 0.0034 -0.1248)
OKLCHoklch(37.5% 0.125 271.5)
XYZxyz(6.4383, 4.9531, 21.7315)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3882 #82752B
analogous
#2B6482 #2B3882 #4A2B82
triadic
#2B3882 #822B38 #38822B
tetradic
#2B3882 #822B64 #82752B #2B824A
square
#2B3882 #822B64 #82752B #2B824A
split-complementary
#2B3882 #824A2B #64822B
monochromatic
#0D1026 #1C2454 #2B3882 #3A4CB0 #5E6ECA

Accessibility & contrast

On white

10.55
#2B3882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3882
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3882#FFFFFF#000000##FFFFFF
##2B38821.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3882;
/* rgb */ color: rgb(43, 56, 130);
/* oklch */ color: oklch(37.5% 0.125 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ea7',
    500: '#2b3882',
    950: '#000000',
  },
}
SCSS
$custom: #2b3882;
$custom-light: #6f6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3882",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 231.034,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.375,
    "c": 0.12487,
    "h": 271.5
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#2B3882
secondary
#B0A359
accent
#C54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B3882

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

Preview Lab → · Contrast checker → · Palette generator →

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