#2B4D83#2B4D83

#2B4D83 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.099 H 259.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4D83
RGBrgb(43, 77, 131)
HSLhsl(217, 51%, 34%)
HSVhsv(217, 67%, 51%)
CMYKcmyk(67.2%, 41.2%, 0%, 48.6%)
CIE-LABlab(32.83, 6.30, -34.05)
CIE-LCHlch(32.83, 34.63, 280.48°)
OKLaboklab(42.28% -0.0184 -0.0969)
OKLCHoklch(42.28% 0.099 259.3)
XYZxyz(7.7454, 7.4593, 22.4999)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D83 #83612B
analogous
#2B7983 #2B4D83 #352B83
triadic
#2B4D83 #832B4D #4D832B
tetradic
#2B4D83 #832B79 #83612B #2B8335
square
#2B4D83 #832B79 #83612B #2B8335
split-complementary
#2B4D83 #83352B #79832B
monochromatic
#0D1727 #1C3255 #2B4D83 #3A68B1 #5E88CA

Accessibility & contrast

On white

8.43
#2B4D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B4D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D83
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D83#FFFFFF#000000##FFFFFF
##2B4D831.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#284982
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4d83;
/* rgb */ color: rgb(43, 77, 131);
/* oklch */ color: oklch(42.3% 0.099 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ea7',
    500: '#2b4d83',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d83;
$custom-light: #6e7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d83",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 216.818,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42278,
    "c": 0.09865,
    "h": 259.3
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#2B4D83
secondary
#B08F5A
accent
#A44EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4D83

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

Preview Lab → · Contrast checker → · Palette generator →

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