#2B5786#2B5786

#2B5786 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.092 H 251.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2B5786
RGBrgb(43, 87, 134)
HSLhsl(211, 51%, 35%)
HSVhsv(211, 68%, 53%)
CMYKcmyk(67.9%, 35.1%, 0%, 47.5%)
CIE-LABlab(36.08, 0.90, -30.75)
CIE-LCHlch(36.08, 30.76, 271.68°)
OKLaboklab(44.87% -0.0285 -0.0871)
OKLCHoklch(44.87% 0.092 251.9)
XYZxyz(8.7060, 9.0503, 23.8377)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5786 #865A2B
analogous
#2B8586 #2B5786 #2D2B86
triadic
#2B5786 #862B57 #57862B
tetradic
#2B5786 #862B85 #865A2B #2B862D
square
#2B5786 #862B85 #865A2B #2B862D
split-complementary
#2B5786 #862D2B #85862B
monochromatic
#0D1B29 #1C3958 #2B5786 #3A75B4 #6094CC

Accessibility & contrast

On white

7.47
#2B5786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B5786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5786
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5786#FFFFFF#000000##FFFFFF
##2B57861.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A88
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5786;
/* rgb */ color: rgb(43, 87, 134);
/* oklch */ color: oklch(44.9% 0.092 251.9);
Tailwind
colors: {
  custom: {
    50: '#6f86a9',
    500: '#2b5786',
    950: '#000000',
  },
}
SCSS
$custom: #2b5786;
$custom-light: #6f86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5786",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 210.989,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.09167,
    "h": 251.9
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#2B5786
secondary
#B2885B
accent
#964DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5786

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

Preview Lab → · Contrast checker → · Palette generator →

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