#2B5987#2B5987

#2B5987 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.091 H 250.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2B5987
RGBrgb(43, 89, 135)
HSLhsl(210, 52%, 35%)
HSVhsv(210, 68%, 53%)
CMYKcmyk(68.1%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.76, -0.01, -30.29)
CIE-LCHlch(36.76, 30.29, 269.99°)
OKLaboklab(45.41% -0.0304 -0.0858)
OKLCHoklch(45.41% 0.091 250.5)
XYZxyz(8.9402, 9.4067, 24.2615)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5987 #87592B
analogous
#2B8787 #2B5987 #2B2B87
triadic
#2B5987 #872B59 #59872B
tetradic
#2B5987 #872B87 #87592B #2B872B
square
#2B5987 #872B87 #87592B #2B872B
split-complementary
#2B5987 #872B2B #87872B
monochromatic
#0D1C2A #1C3A59 #2B5987 #3A78B5 #6096CC

Accessibility & contrast

On white

7.29
#2B5987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2B5987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5987
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5987#FFFFFF#000000##FFFFFF
##2B59871.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B89
Deuteranopia (green-blind)
#385386
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5987;
/* rgb */ color: rgb(43, 89, 135);
/* oklch */ color: oklch(45.4% 0.091 250.5);
Tailwind
colors: {
  custom: {
    50: '#6f87aa',
    500: '#2b5987',
    950: '#000000',
  },
}
SCSS
$custom: #2b5987;
$custom-light: #6f87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5987",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 210,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.091,
    "h": 250.5
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#2B5987
secondary
#B2875B
accent
#944DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5987

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

Preview Lab → · Contrast checker → · Palette generator →

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