#2B5894#2B5894

#2B5894 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.110 H 256.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2B5894
RGBrgb(43, 88, 148)
HSLhsl(214, 55%, 37%)
HSVhsv(214, 71%, 58%)
CMYKcmyk(70.9%, 40.5%, 0%, 42%)
CIE-LABlab(37.17, 5.51, -37.53)
CIE-LCHlch(37.17, 37.93, 278.35°)
OKLaboklab(45.97% -0.0258 -0.1069)
OKLCHoklch(45.97% 0.11 256.4)
XYZxyz(9.8293, 9.6301, 29.3520)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5894 #94672B
analogous
#2B8C94 #2B5894 #332B94
triadic
#2B5894 #942B58 #58942B
tetradic
#2B5894 #942B8C #94672B #2B9433
square
#2B5894 #942B8C #94672B #2B9433
split-complementary
#2B5894 #94332B #8C942B
monochromatic
#0F2035 #1D3C65 #2B5894 #3974C3 #6795D3

Accessibility & contrast

On white

7.18
#2B5894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B5894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5894
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5894#FFFFFF#000000##FFFFFF
##2B58941.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D96
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b5894;
/* rgb */ color: rgb(43, 88, 148);
/* oklch */ color: oklch(46.0% 0.110 256.4);
Tailwind
colors: {
  custom: {
    50: '#7186b4',
    500: '#2b5894',
    950: '#000000',
  },
}
SCSS
$custom: #2b5894;
$custom-light: #7186b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5894",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 214.286,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.11002,
    "h": 256.4
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#2B5894
secondary
#B99462
accent
#9F49DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5894

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

Preview Lab → · Contrast checker → · Palette generator →

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