#2B3182#2B3182

#2B3182 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.134 H 274.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3182
RGBrgb(43, 49, 130)
HSLhsl(236, 50%, 34%)
HSVhsv(236, 67%, 51%)
CMYKcmyk(66.9%, 62.3%, 0%, 49%)
CIE-LABlab(24.71, 24.97, -46.51)
CIE-LCHlch(24.71, 52.79, 298.23°)
OKLaboklab(36.09% 0.01 -0.1339)
OKLCHoklch(36.09% 0.134 274.3)
XYZxyz(6.1225, 4.3214, 21.6262)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3182 #827C2B
analogous
#2B5D82 #2B3182 #512B82
triadic
#2B3182 #822B31 #31822B
tetradic
#2B3182 #822B5D #827C2B #2B8251
square
#2B3182 #822B5D #827C2B #2B8251
split-complementary
#2B3182 #82512B #5D822B
monochromatic
#0D0E26 #1C2054 #2B3182 #3A42B0 #5E65CA

Accessibility & contrast

On white

11.26
#2B3182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B3182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3182
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3182#FFFFFF#000000##FFFFFF
##2B31821.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3182;
/* rgb */ color: rgb(43, 49, 130);
/* oklch */ color: oklch(36.1% 0.134 274.3);
Tailwind
colors: {
  custom: {
    50: '#6f69a7',
    500: '#2b3182',
    950: '#000000',
  },
}
SCSS
$custom: #2b3182;
$custom-light: #6f69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3182",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 235.862,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.13431,
    "h": 274.3
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#2B3182
secondary
#B0AA59
accent
#D04EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B3182

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

Preview Lab → · Contrast checker → · Palette generator →

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