#2B5891#2B5891

#2B5891 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.106 H 255.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2B5891
RGBrgb(43, 88, 145)
HSLhsl(214, 54%, 37%)
HSVhsv(214, 70%, 57%)
CMYKcmyk(70.3%, 39.3%, 0%, 43.1%)
CIE-LABlab(37.00, 4.38, -35.99)
CIE-LCHlch(37.00, 36.25, 276.93°)
OKLaboklab(45.78% -0.0266 -0.1024)
OKLCHoklch(45.78% 0.106 255.5)
XYZxyz(9.5950, 9.5364, 28.1176)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5891 #91642B
analogous
#2B8B91 #2B5891 #312B91
triadic
#2B5891 #912B58 #58912B
tetradic
#2B5891 #912B8B #91642B #2B9131
square
#2B5891 #912B8B #91642B #2B9131
split-complementary
#2B5891 #91312B #8B912B
monochromatic
#0F1F33 #1D3B62 #2B5891 #3975C0 #6595D1

Accessibility & contrast

On white

7.22
#2B5891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2B5891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5891
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5891#FFFFFF#000000##FFFFFF
##2B58911.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C93
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b5891;
/* rgb */ color: rgb(43, 88, 145);
/* oklch */ color: oklch(45.8% 0.106 255.5);
Tailwind
colors: {
  custom: {
    50: '#7186b1',
    500: '#2b5891',
    950: '#000000',
  },
}
SCSS
$custom: #2b5891;
$custom-light: #7186b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5891",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 213.529,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.10583,
    "h": 255.5
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#2B5891
secondary
#B89160
accent
#9D4ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2B5891

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

Preview Lab → · Contrast checker → · Palette generator →

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