#2B5884#2B5884

#2B5884 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.088 H 249.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2B5884
RGBrgb(43, 88, 132)
HSLhsl(210, 51%, 34%)
HSVhsv(210, 67%, 52%)
CMYKcmyk(67.4%, 33.3%, 0%, 48.2%)
CIE-LABlab(36.29, -0.48, -29.20)
CIE-LCHlch(36.29, 29.20, 269.06°)
OKLaboklab(44.99% -0.0302 -0.0826)
OKLCHoklch(44.99% 0.088 249.9)
XYZxyz(8.6493, 9.1581, 23.1372)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5884 #84572B
analogous
#2B8484 #2B5884 #2B2C84
triadic
#2B5884 #842B58 #58842B
tetradic
#2B5884 #842B84 #84572B #2C842B
square
#2B5884 #842B84 #84572B #2C842B
split-complementary
#2B5884 #842B2C #84842B
monochromatic
#0D1A28 #1C3956 #2B5884 #3A77B2 #5F95CB

Accessibility & contrast

On white

7.42
#2B5884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B5884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5884
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5884#FFFFFF#000000##FFFFFF
##2B58841.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A86
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5884;
/* rgb */ color: rgb(43, 88, 132);
/* oklch */ color: oklch(45.0% 0.088 249.9);
Tailwind
colors: {
  custom: {
    50: '#6e86a8',
    500: '#2b5884',
    950: '#000000',
  },
}
SCSS
$custom: #2b5884;
$custom-light: #6e86a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5884",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 209.663,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.08795,
    "h": 249.9
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#2B5884
secondary
#B1855A
accent
#934DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2B5884

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

Preview Lab → · Contrast checker → · Palette generator →

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