#2B5988#2B5988

#2B5988 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.092 H 251.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2B5988
RGBrgb(43, 89, 136)
HSLhsl(210, 52%, 35%)
HSVhsv(210, 68%, 53%)
CMYKcmyk(68.4%, 34.6%, 0%, 46.7%)
CIE-LABlab(36.81, 0.37, -30.82)
CIE-LCHlch(36.81, 30.82, 270.68°)
OKLaboklab(45.47% -0.0301 -0.0873)
OKLCHoklch(45.47% 0.092 251)
XYZxyz(9.0109, 9.4350, 24.6340)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5988 #885A2B
analogous
#2B8788 #2B5988 #2C2B88
triadic
#2B5988 #882B59 #59882B
tetradic
#2B5988 #882B87 #885A2B #2B882C
square
#2B5988 #882B87 #885A2B #2B882C
split-complementary
#2B5988 #882C2B #87882B
monochromatic
#0E1C2B #1C3B5A #2B5988 #3A77B6 #6196CD

Accessibility & contrast

On white

7.27
#2B5988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B5988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5988
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5988#FFFFFF#000000##FFFFFF
##2B59881.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B8A
Deuteranopia (green-blind)
#375387
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b5988;
/* rgb */ color: rgb(43, 89, 136);
/* oklch */ color: oklch(45.5% 0.092 251.0);
Tailwind
colors: {
  custom: {
    50: '#6f87ab',
    500: '#2b5988',
    950: '#000000',
  },
}
SCSS
$custom: #2b5988;
$custom-light: #6f87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5988",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 136
  },
  "hsl": {
    "h": 210.323,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.09236,
    "h": 251
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#2B5988
secondary
#B3885C
accent
#954CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5988

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

Preview Lab → · Contrast checker → · Palette generator →

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