#2B3196#2B3196

#2B3196 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.162 H 273.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2B3196
RGBrgb(43, 49, 150)
HSLhsl(237, 55%, 38%)
HSVhsv(237, 71%, 59%)
CMYKcmyk(71.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.48, 32.28, -56.02)
CIE-LCHlch(26.48, 64.65, 299.95°)
OKLaboklab(37.94% 0.0087 -0.1618)
OKLCHoklch(37.94% 0.162 273.1)
XYZxyz(7.5978, 4.9115, 29.3959)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3196 #96902B
analogous
#2B6696 #2B3196 #5B2B96
triadic
#2B3196 #962B31 #31962B
tetradic
#2B3196 #962B66 #96902B #2B965B
square
#2B3196 #962B66 #96902B #2B965B
split-complementary
#2B3196 #965B2B #66962B
monochromatic
#101237 #1D2166 #2B3196 #3941C6 #686ED4

Accessibility & contrast

On white

10.59
#2B3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3196
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3196#FFFFFF#000000##FFFFFF
##2B31961.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3196;
/* rgb */ color: rgb(43, 49, 150);
/* oklch */ color: oklch(37.9% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#7469b6',
    500: '#2b3196',
    950: '#000000',
  },
}
SCSS
$custom: #2b3196;
$custom-light: #7469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3196",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 236.636,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.16208,
    "h": 273.1
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#2B3196
secondary
#BAB563
accent
#D649DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3196

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

Preview Lab → · Contrast checker → · Palette generator →

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