#2B5997#2B5997

#2B5997 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.4% C 0.113 H 256.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2B5997
RGBrgb(43, 89, 151)
HSLhsl(214, 56%, 38%)
HSVhsv(214, 72%, 59%)
CMYKcmyk(71.5%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.65, 6.00, -38.57)
CIE-LCHlch(37.65, 39.04, 278.84°)
OKLaboklab(46.4% -0.0261 -0.11)
OKLCHoklch(46.4% 0.113 256.6)
XYZxyz(10.1525, 9.8916, 30.6464)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5997 #97692B
analogous
#2B8F97 #2B5997 #332B97
triadic
#2B5997 #972B59 #59972B
tetradic
#2B5997 #972B8F #97692B #2B9733
square
#2B5997 #972B8F #97692B #2B9733
split-complementary
#2B5997 #97332B #8F972B
monochromatic
#102138 #1D3D67 #2B5997 #3975C7 #6896D4

Accessibility & contrast

On white

7.05
#2B5997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B5997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5997
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5997#FFFFFF#000000##FFFFFF
##2B59971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b5997;
/* rgb */ color: rgb(43, 89, 151);
/* oklch */ color: oklch(46.4% 0.113 256.6);
Tailwind
colors: {
  custom: {
    50: '#7287b6',
    500: '#2b5997',
    950: '#000000',
  },
}
SCSS
$custom: #2b5997;
$custom-light: #7287b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5997",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 214.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.11308,
    "h": 256.6
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#2B5997
secondary
#BB9563
accent
#9F49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5997

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

Preview Lab → · Contrast checker → · Palette generator →

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