#2B5684#2B5684

#2B5684 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.090 H 251.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B5684
RGBrgb(43, 86, 132)
HSLhsl(211, 51%, 34%)
HSVhsv(211, 67%, 52%)
CMYKcmyk(67.4%, 34.8%, 0%, 48.2%)
CIE-LABlab(35.66, 0.80, -30.18)
CIE-LCHlch(35.66, 30.19, 271.52°)
OKLaboklab(44.51% -0.028 -0.0855)
OKLCHoklch(44.51% 0.09 251.9)
XYZxyz(8.4874, 8.8343, 23.0832)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5684 #84592B
analogous
#2B8384 #2B5684 #2D2B84
triadic
#2B5684 #842B56 #56842B
tetradic
#2B5684 #842B83 #84592B #2B842D
square
#2B5684 #842B83 #84592B #2B842D
split-complementary
#2B5684 #842D2B #83842B
monochromatic
#0D1A28 #1C3856 #2B5684 #3A74B2 #5F93CB

Accessibility & contrast

On white

7.59
#2B5684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2B5684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5684
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5684#FFFFFF#000000##FFFFFF
##2B56841.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425986
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5684;
/* rgb */ color: rgb(43, 86, 132);
/* oklch */ color: oklch(44.5% 0.090 251.9);
Tailwind
colors: {
  custom: {
    50: '#6e85a8',
    500: '#2b5684',
    950: '#000000',
  },
}
SCSS
$custom: #2b5684;
$custom-light: #6e85a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5684",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 211.011,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.08995,
    "h": 251.9
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#2B5684
secondary
#B1875A
accent
#964DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2B5684

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

Preview Lab → · Contrast checker → · Palette generator →

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