#2B4086#2B4086

#2B4086 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.120 H 268.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2B4086
RGBrgb(43, 64, 134)
HSLhsl(226, 51%, 35%)
HSVhsv(226, 68%, 53%)
CMYKcmyk(67.9%, 52.2%, 0%, 47.5%)
CIE-LABlab(29.16, 16.23, -41.78)
CIE-LCHlch(29.16, 44.82, 291.22°)
OKLaboklab(39.53% -0.0042 -0.1199)
OKLCHoklch(39.53% 0.12 268)
XYZxyz(7.1313, 5.9009, 23.3128)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4086 #86712B
analogous
#2B6D86 #2B4086 #442B86
triadic
#2B4086 #862B40 #40862B
tetradic
#2B4086 #862B6D #86712B #2B8644
square
#2B4086 #862B6D #86712B #2B8644
split-complementary
#2B4086 #86442B #6D862B
monochromatic
#0D1429 #1C2A58 #2B4086 #3A56B4 #6079CC

Accessibility & contrast

On white

9.63
#2B4086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B4086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4086
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4086#FFFFFF#000000##FFFFFF
##2B40861.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4086;
/* rgb */ color: rgb(43, 64, 134);
/* oklch */ color: oklch(39.5% 0.120 268.0);
Tailwind
colors: {
  custom: {
    50: '#6f74aa',
    500: '#2b4086',
    950: '#000000',
  },
}
SCSS
$custom: #2b4086;
$custom-light: #6f74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4086",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 226.154,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.11993,
    "h": 268
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#2B4086
secondary
#B29E5B
accent
#BA4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4086

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

Preview Lab → · Contrast checker → · Palette generator →

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