#2B5284#2B5284

#2B5284 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.094 H 255.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2B5284
RGBrgb(43, 82, 132)
HSLhsl(214, 51%, 34%)
HSVhsv(214, 67%, 52%)
CMYKcmyk(67.4%, 37.9%, 0%, 48.2%)
CIE-LABlab(34.42, 3.38, -32.14)
CIE-LCHlch(34.42, 32.32, 276.01°)
OKLaboklab(43.54% -0.0236 -0.0913)
OKLCHoklch(43.54% 0.094 255.5)
XYZxyz(8.1769, 8.2133, 22.9797)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5284 #845D2B
analogous
#2B7F84 #2B5284 #312B84
triadic
#2B5284 #842B52 #52842B
tetradic
#2B5284 #842B7F #845D2B #2B8431
square
#2B5284 #842B7F #845D2B #2B8431
split-complementary
#2B5284 #84312B #7F842B
monochromatic
#0D1928 #1C3556 #2B5284 #3A6FB2 #5F8ECB

Accessibility & contrast

On white

7.95
#2B5284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B5284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5284
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5284#FFFFFF#000000##FFFFFF
##2B52841.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5686
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5284;
/* rgb */ color: rgb(43, 82, 132);
/* oklch */ color: oklch(43.5% 0.094 255.5);
Tailwind
colors: {
  custom: {
    50: '#6e82a8',
    500: '#2b5284',
    950: '#000000',
  },
}
SCSS
$custom: #2b5284;
$custom-light: #6e82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5284",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 213.708,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.09426,
    "h": 255.5
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#2B5284
secondary
#B18B5A
accent
#9D4DDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5284

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

Preview Lab → · Contrast checker → · Palette generator →

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