#2B5989#2B5989

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

Color values

HEX#2B5989
RGBrgb(43, 89, 137)
HSLhsl(211, 52%, 35%)
HSVhsv(211, 69%, 54%)
CMYKcmyk(68.6%, 35%, 0%, 46.3%)
CIE-LABlab(36.86, 0.74, -31.34)
CIE-LCHlch(36.86, 31.35, 271.35°)
OKLaboklab(45.53% -0.0298 -0.0888)
OKLCHoklch(45.53% 0.094 251.5)
XYZxyz(9.0823, 9.4636, 25.0101)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5989 #895B2B
analogous
#2B8889 #2B5989 #2C2B89
triadic
#2B5989 #892B59 #59892B
tetradic
#2B5989 #892B88 #895B2B #2B892C
square
#2B5989 #892B88 #895B2B #2B892C
split-complementary
#2B5989 #892C2B #88892B
monochromatic
#0E1C2C #1C3B5A #2B5989 #3A77B8 #6196CD

Accessibility & contrast

On white

7.26
#2B5989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5989
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5989#FFFFFF#000000##FFFFFF
##2B59891.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5989;
/* rgb */ color: rgb(43, 89, 137);
/* oklch */ color: oklch(45.5% 0.094 251.5);
Tailwind
colors: {
  custom: {
    50: '#6f87ab',
    500: '#2b5989',
    950: '#000000',
  },
}
SCSS
$custom: #2b5989;
$custom-light: #6f87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5989",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 210.638,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.09371,
    "h": 251.5
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#2B5989
secondary
#B3895C
accent
#954CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5989

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

Preview Lab → · Contrast checker → · Palette generator →

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