#2B5995#2B5995

#2B5995 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.110 H 256.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2B5995
RGBrgb(43, 89, 149)
HSLhsl(214, 55%, 38%)
HSVhsv(214, 71%, 58%)
CMYKcmyk(71.1%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.53, 5.24, -37.56)
CIE-LCHlch(37.53, 37.92, 277.94°)
OKLaboklab(46.27% -0.0266 -0.107)
OKLCHoklch(46.27% 0.11 256)
XYZxyz(9.9915, 9.8272, 29.7982)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5995 #95672B
analogous
#2B8E95 #2B5995 #322B95
triadic
#2B5995 #952B59 #59952B
tetradic
#2B5995 #952B8E #95672B #2B9532
square
#2B5995 #952B8E #95672B #2B9532
split-complementary
#2B5995 #95322B #8E952B
monochromatic
#102036 #1D3D66 #2B5995 #3975C4 #6796D3

Accessibility & contrast

On white

7.08
#2B5995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B5995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5995
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5995#FFFFFF#000000##FFFFFF
##2B59951.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b5995;
/* rgb */ color: rgb(43, 89, 149);
/* oklch */ color: oklch(46.3% 0.110 256.0);
Tailwind
colors: {
  custom: {
    50: '#7187b4',
    500: '#2b5995',
    950: '#000000',
  },
}
SCSS
$custom: #2b5995;
$custom-light: #7187b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5995",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 213.962,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.11029,
    "h": 256
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#2B5995
secondary
#BA9462
accent
#9E49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5995

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

Preview Lab → · Contrast checker → · Palette generator →

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