#2B3984#2B3984

#2B3984 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.126 H 271.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2B3984
RGBrgb(43, 57, 132)
HSLhsl(231, 51%, 34%)
HSVhsv(231, 67%, 52%)
CMYKcmyk(67.4%, 56.8%, 0%, 48.2%)
CIE-LABlab(27.03, 20.26, -43.98)
CIE-LCHlch(27.03, 48.42, 294.74°)
OKLaboklab(37.87% 0.0025 -0.1264)
OKLCHoklch(37.87% 0.126 271.1)
XYZxyz(6.6228, 5.1052, 22.4617)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3984 #84762B
analogous
#2B6684 #2B3984 #4A2B84
triadic
#2B3984 #842B39 #39842B
tetradic
#2B3984 #842B66 #84762B #2B844A
square
#2B3984 #842B66 #84762B #2B844A
split-complementary
#2B3984 #844A2B #66842B
monochromatic
#0D1128 #1C2556 #2B3984 #3A4DB2 #5F70CB

Accessibility & contrast

On white

10.39
#2B3984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B3984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3984
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3984#FFFFFF#000000##FFFFFF
##2B39841.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3984;
/* rgb */ color: rgb(43, 57, 132);
/* oklch */ color: oklch(37.9% 0.126 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fa8',
    500: '#2b3984',
    950: '#000000',
  },
}
SCSS
$custom: #2b3984;
$custom-light: #6f6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3984",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 230.562,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37872,
    "c": 0.12644,
    "h": 271.1
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#2B3984
secondary
#B1A35A
accent
#C44DDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3984

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

Preview Lab → · Contrast checker → · Palette generator →

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