#2B5994#2B5994

#2B5994 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.109 H 255.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2B5994
RGBrgb(43, 89, 148)
HSLhsl(214, 55%, 37%)
HSVhsv(214, 71%, 58%)
CMYKcmyk(70.9%, 39.9%, 0%, 42%)
CIE-LABlab(37.47, 4.86, -37.04)
CIE-LCHlch(37.47, 37.36, 277.48°)
OKLaboklab(46.21% -0.0268 -0.1055)
OKLCHoklch(46.21% 0.109 255.7)
XYZxyz(9.9120, 9.7954, 29.3796)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5994 #94662B
analogous
#2B8E94 #2B5994 #312B94
triadic
#2B5994 #942B59 #59942B
tetradic
#2B5994 #942B8E #94662B #2B9431
square
#2B5994 #942B8E #94662B #2B9431
split-complementary
#2B5994 #94312B #8E942B
monochromatic
#0F2035 #1D3C65 #2B5994 #3976C3 #6796D3

Accessibility & contrast

On white

7.10
#2B5994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2B5994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5994
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5994#FFFFFF#000000##FFFFFF
##2B59941.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E96
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b5994;
/* rgb */ color: rgb(43, 89, 148);
/* oklch */ color: oklch(46.2% 0.109 255.7);
Tailwind
colors: {
  custom: {
    50: '#7187b4',
    500: '#2b5994',
    950: '#000000',
  },
}
SCSS
$custom: #2b5994;
$custom-light: #7187b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5994",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 148
  },
  "hsl": {
    "h": 213.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46208,
    "c": 0.10889,
    "h": 255.7
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#2B5994
secondary
#B99362
accent
#9D49DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5994

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

Preview Lab → · Contrast checker → · Palette generator →

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