#2B5386#2B5386

#2B5386 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.096 H 255.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2B5386
RGBrgb(43, 83, 134)
HSLhsl(214, 51%, 35%)
HSVhsv(214, 68%, 53%)
CMYKcmyk(67.9%, 38.1%, 0%, 47.5%)
CIE-LABlab(34.84, 3.48, -32.70)
CIE-LCHlch(34.84, 32.89, 276.08°)
OKLaboklab(43.9% -0.0241 -0.0929)
OKLCHoklch(43.9% 0.096 255.4)
XYZxyz(8.3910, 8.4205, 23.7327)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5386 #865E2B
analogous
#2B8186 #2B5386 #302B86
triadic
#2B5386 #862B53 #53862B
tetradic
#2B5386 #862B81 #865E2B #2B8630
square
#2B5386 #862B81 #865E2B #2B8630
split-complementary
#2B5386 #86302B #81862B
monochromatic
#0D1A29 #1C3658 #2B5386 #3A70B4 #608FCC

Accessibility & contrast

On white

7.82
#2B5386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B5386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5386
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5386#FFFFFF#000000##FFFFFF
##2B53861.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5788
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5386;
/* rgb */ color: rgb(43, 83, 134);
/* oklch */ color: oklch(43.9% 0.096 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f83a9',
    500: '#2b5386',
    950: '#000000',
  },
}
SCSS
$custom: #2b5386;
$custom-light: #6f83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5386",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 134
  },
  "hsl": {
    "h": 213.626,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.439,
    "c": 0.09598,
    "h": 255.4
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#2B5386
secondary
#B28C5B
accent
#9C4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5386

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

Preview Lab → · Contrast checker → · Palette generator →

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