#2B5086#2B5086

#2B5086 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.099 H 257.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2B5086
RGBrgb(43, 80, 134)
HSLhsl(216, 51%, 35%)
HSVhsv(216, 68%, 53%)
CMYKcmyk(67.9%, 40.3%, 0%, 47.5%)
CIE-LABlab(33.92, 5.45, -34.16)
CIE-LCHlch(33.92, 34.59, 279.06°)
OKLaboklab(43.18% -0.0209 -0.0972)
OKLCHoklch(43.18% 0.099 257.9)
XYZxyz(8.1665, 7.9713, 23.6579)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5086 #86612B
analogous
#2B7E86 #2B5086 #332B86
triadic
#2B5086 #862B50 #50862B
tetradic
#2B5086 #862B7E #86612B #2B8633
square
#2B5086 #862B7E #86612B #2B8633
split-complementary
#2B5086 #86332B #7E862B
monochromatic
#0D1929 #1C3458 #2B5086 #3A6CB4 #608CCC

Accessibility & contrast

On white

8.09
#2B5086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B5086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5086
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5086#FFFFFF#000000##FFFFFF
##2B50861.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385488
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5086;
/* rgb */ color: rgb(43, 80, 134);
/* oklch */ color: oklch(43.2% 0.099 257.9);
Tailwind
colors: {
  custom: {
    50: '#6f80a9',
    500: '#2b5086',
    950: '#000000',
  },
}
SCSS
$custom: #2b5086;
$custom-light: #6f80a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5086",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 134
  },
  "hsl": {
    "h": 215.604,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.09944,
    "h": 257.9
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#2B5086
secondary
#B28F5B
accent
#A14DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5086

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

Preview Lab → · Contrast checker → · Palette generator →

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