#2B4786#2B4786

#2B4786 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.111 H 264.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2B4786
RGBrgb(43, 71, 134)
HSLhsl(222, 51%, 35%)
HSVhsv(222, 68%, 53%)
CMYKcmyk(67.9%, 47%, 0%, 47.5%)
CIE-LABlab(31.21, 11.46, -38.49)
CIE-LCHlch(31.21, 40.16, 286.58°)
OKLaboklab(41.09% -0.0113 -0.1101)
OKLCHoklch(41.09% 0.111 264.1)
XYZxyz(7.5511, 6.7406, 23.4528)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4786 #866A2B
analogous
#2B7586 #2B4786 #3C2B86
triadic
#2B4786 #862B47 #47862B
tetradic
#2B4786 #862B75 #866A2B #2B863C
square
#2B4786 #862B75 #866A2B #2B863C
split-complementary
#2B4786 #863C2B #75862B
monochromatic
#0D1629 #1C2E58 #2B4786 #3A60B4 #6081CC

Accessibility & contrast

On white

8.94
#2B4786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B4786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4786
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4786#FFFFFF#000000##FFFFFF
##2B47861.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#174685
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4786;
/* rgb */ color: rgb(43, 71, 134);
/* oklch */ color: oklch(41.1% 0.111 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f79aa',
    500: '#2b4786',
    950: '#000000',
  },
}
SCSS
$custom: #2b4786;
$custom-light: #6f79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4786",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 221.538,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.11065,
    "h": 264.1
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#2B4786
secondary
#B2975B
accent
#AF4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4786

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

Preview Lab → · Contrast checker → · Palette generator →

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