#2B5887#2B5887

#2B5887 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.092 H 251.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2B5887
RGBrgb(43, 88, 135)
HSLhsl(211, 52%, 35%)
HSVhsv(211, 68%, 53%)
CMYKcmyk(68.1%, 34.8%, 0%, 47.1%)
CIE-LABlab(36.45, 0.63, -30.78)
CIE-LCHlch(36.45, 30.79, 271.18°)
OKLaboklab(45.17% -0.0293 -0.0872)
OKLCHoklch(45.17% 0.092 251.4)
XYZxyz(8.8575, 9.2414, 24.2339)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5887 #875A2B
analogous
#2B8687 #2B5887 #2C2B87
triadic
#2B5887 #872B58 #58872B
tetradic
#2B5887 #872B86 #875A2B #2B872C
square
#2B5887 #872B86 #875A2B #2B872C
split-complementary
#2B5887 #872C2B #86872B
monochromatic
#0D1B2A #1C3A59 #2B5887 #3A76B5 #6095CC

Accessibility & contrast

On white

7.37
#2B5887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2B5887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5887
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5887#FFFFFF#000000##FFFFFF
##2B58871.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B89
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5887;
/* rgb */ color: rgb(43, 88, 135);
/* oklch */ color: oklch(45.2% 0.092 251.4);
Tailwind
colors: {
  custom: {
    50: '#6f86aa',
    500: '#2b5887',
    950: '#000000',
  },
}
SCSS
$custom: #2b5887;
$custom-light: #6f86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5887",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 210.652,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.09201,
    "h": 251.4
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5887

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

Preview Lab → · Contrast checker → · Palette generator →

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