#2B5886#2B5886

#2B5886 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.091 H 250.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5886
RGBrgb(43, 88, 134)
HSLhsl(210, 51%, 35%)
HSVhsv(210, 68%, 53%)
CMYKcmyk(67.9%, 34.3%, 0%, 47.5%)
CIE-LABlab(36.39, 0.26, -30.25)
CIE-LCHlch(36.39, 30.26, 270.50°)
OKLaboklab(45.11% -0.0296 -0.0857)
OKLCHoklch(45.11% 0.091 250.9)
XYZxyz(8.7875, 9.2134, 23.8649)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5886 #86592B
analogous
#2B8586 #2B5886 #2C2B86
triadic
#2B5886 #862B58 #58862B
tetradic
#2B5886 #862B85 #86592B #2B862C
square
#2B5886 #862B85 #86592B #2B862C
split-complementary
#2B5886 #862C2B #85862B
monochromatic
#0D1B29 #1C3A58 #2B5886 #3A76B4 #6095CC

Accessibility & contrast

On white

7.39
#2B5886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B5886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5886
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5886#FFFFFF#000000##FFFFFF
##2B58861.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A88
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5886;
/* rgb */ color: rgb(43, 88, 134);
/* oklch */ color: oklch(45.1% 0.091 250.9);
Tailwind
colors: {
  custom: {
    50: '#6f86a9',
    500: '#2b5886',
    950: '#000000',
  },
}
SCSS
$custom: #2b5886;
$custom-light: #6f86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5886",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 134
  },
  "hsl": {
    "h": 210.33,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.09066,
    "h": 250.9
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5886

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

Preview Lab → · Contrast checker → · Palette generator →

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