#2B5787#2B5787

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

Color values

HEX#2B5787
RGBrgb(43, 87, 135)
HSLhsl(211, 52%, 35%)
HSVhsv(211, 68%, 53%)
CMYKcmyk(68.1%, 35.6%, 0%, 47.1%)
CIE-LABlab(36.13, 1.27, -31.27)
CIE-LCHlch(36.13, 31.30, 272.33°)
OKLaboklab(44.93% -0.0282 -0.0887)
OKLCHoklch(44.93% 0.093 252.4)
XYZxyz(8.7760, 9.0784, 24.2068)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5787 #875B2B
analogous
#2B8587 #2B5787 #2D2B87
triadic
#2B5787 #872B57 #57872B
tetradic
#2B5787 #872B85 #875B2B #2B872D
square
#2B5787 #872B85 #875B2B #2B872D
split-complementary
#2B5787 #872D2B #85872B
monochromatic
#0D1B2A #1C3959 #2B5787 #3A75B5 #6094CC

Accessibility & contrast

On white

7.46
#2B5787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2B5787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5787
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5787#FFFFFF#000000##FFFFFF
##2B57871.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5787;
/* rgb */ color: rgb(43, 87, 135);
/* oklch */ color: oklch(44.9% 0.093 252.4);
Tailwind
colors: {
  custom: {
    50: '#6f86aa',
    500: '#2b5787',
    950: '#000000',
  },
}
SCSS
$custom: #2b5787;
$custom-light: #6f86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5787",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 211.304,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44927,
    "c": 0.09305,
    "h": 252.4
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#2B5787
secondary
#B2895B
accent
#974DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5787

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

Preview Lab → · Contrast checker → · Palette generator →

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