#2B5084#2B5084

#2B5084 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.097 H 257.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2B5084
RGBrgb(43, 80, 132)
HSLhsl(215, 51%, 34%)
HSVhsv(215, 67%, 52%)
CMYKcmyk(67.4%, 39.4%, 0%, 48.2%)
CIE-LABlab(33.81, 4.69, -33.12)
CIE-LCHlch(33.81, 33.45, 278.07°)
OKLaboklab(43.06% -0.0214 -0.0941)
OKLCHoklch(43.06% 0.097 257.2)
XYZxyz(8.0283, 7.9161, 22.9302)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5084 #845F2B
analogous
#2B7D84 #2B5084 #332B84
triadic
#2B5084 #842B50 #50842B
tetradic
#2B5084 #842B7D #845F2B #2B8433
square
#2B5084 #842B7D #845F2B #2B8433
split-complementary
#2B5084 #84332B #7D842B
monochromatic
#0D1828 #1C3456 #2B5084 #3A6CB2 #5F8CCB

Accessibility & contrast

On white

8.13
#2B5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B5084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5084
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5084#FFFFFF#000000##FFFFFF
##2B50841.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5084;
/* rgb */ color: rgb(43, 80, 132);
/* oklch */ color: oklch(43.1% 0.097 257.2);
Tailwind
colors: {
  custom: {
    50: '#6e80a8',
    500: '#2b5084',
    950: '#000000',
  },
}
SCSS
$custom: #2b5084;
$custom-light: #6e80a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5084",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 215.056,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.09655,
    "h": 257.2
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#2B5084
secondary
#B18D5A
accent
#A04DDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5084

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

Preview Lab → · Contrast checker → · Palette generator →

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