#2B3084#2B3084

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

Color values

HEX#2B3084
RGBrgb(43, 48, 132)
HSLhsl(237, 51%, 34%)
HSVhsv(237, 67%, 52%)
CMYKcmyk(67.4%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.62, 26.38, -47.91)
CIE-LCHlch(24.62, 54.69, 298.84°)
OKLaboklab(36.08% 0.0108 -0.1381)
OKLCHoklch(36.08% 0.138 274.5)
XYZxyz(6.2167, 4.2929, 22.3263)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3084 #847F2B
analogous
#2B5D84 #2B3084 #532B84
triadic
#2B3084 #842B30 #30842B
tetradic
#2B3084 #842B5D #847F2B #2B8453
square
#2B3084 #842B5D #847F2B #2B8453
split-complementary
#2B3084 #84532B #5D842B
monochromatic
#0D0E28 #1C1F56 #2B3084 #3A41B2 #5F65CB

Accessibility & contrast

On white

11.30
#2B3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3084
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3084#FFFFFF#000000##FFFFFF
##2B30841.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b3084;
/* rgb */ color: rgb(43, 48, 132);
/* oklch */ color: oklch(36.1% 0.138 274.5);
Tailwind
colors: {
  custom: {
    50: '#7068a9',
    500: '#2b3084',
    950: '#000000',
  },
}
SCSS
$custom: #2b3084;
$custom-light: #7068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3084",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 236.629,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36077,
    "c": 0.13848,
    "h": 274.5
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#2B3084
secondary
#B1AC5A
accent
#D24DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3084

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

Preview Lab → · Contrast checker → · Palette generator →

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