#2B5986#2B5986

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

Color values

HEX#2B5986
RGBrgb(43, 89, 134)
HSLhsl(210, 51%, 35%)
HSVhsv(210, 68%, 53%)
CMYKcmyk(67.9%, 33.6%, 0%, 47.5%)
CIE-LABlab(36.70, -0.38, -29.76)
CIE-LCHlch(36.70, 29.77, 269.28°)
OKLaboklab(45.36% -0.0307 -0.0842)
OKLCHoklch(45.36% 0.09 250)
XYZxyz(8.8701, 9.3787, 23.8924)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5986 #86582B
analogous
#2B8685 #2B5986 #2B2C86
triadic
#2B5986 #862B59 #59862B
tetradic
#2B5986 #852B86 #86582B #2C862B
square
#2B5986 #852B86 #86582B #2C862B
split-complementary
#2B5986 #862B2C #86852B
monochromatic
#0D1B29 #1C3A58 #2B5986 #3A78B4 #6096CC

Accessibility & contrast

On white

7.30
#2B5986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5986
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5986#FFFFFF#000000##FFFFFF
##2B59861.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#395285
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5986;
/* rgb */ color: rgb(43, 89, 134);
/* oklch */ color: oklch(45.4% 0.090 250.0);
Tailwind
colors: {
  custom: {
    50: '#6f87a9',
    500: '#2b5986',
    950: '#000000',
  },
}
SCSS
$custom: #2b5986;
$custom-light: #6f87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5986",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 209.67,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.08967,
    "h": 250
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#2B5986
secondary
#B2865B
accent
#934DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5986

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

Preview Lab → · Contrast checker → · Palette generator →

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