#2B4C83#2B4C83

#2B4C83 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.100 H 260.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2B4C83
RGBrgb(43, 76, 131)
HSLhsl(218, 51%, 34%)
HSVhsv(218, 67%, 51%)
CMYKcmyk(67.2%, 42%, 0%, 48.6%)
CIE-LABlab(32.53, 6.96, -34.54)
CIE-LCHlch(32.53, 35.23, 281.40°)
OKLaboklab(42.04% -0.0173 -0.0984)
OKLCHoklch(42.04% 0.1 260)
XYZxyz(7.6760, 7.3204, 22.4768)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C83 #83622B
analogous
#2B7883 #2B4C83 #362B83
triadic
#2B4C83 #832B4C #4C832B
tetradic
#2B4C83 #832B78 #83622B #2B8336
square
#2B4C83 #832B78 #83622B #2B8336
split-complementary
#2B4C83 #83362B #78832B
monochromatic
#0D1727 #1C3155 #2B4C83 #3A67B1 #5E87CA

Accessibility & contrast

On white

8.52
#2B4C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B4C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C83
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C83#FFFFFF#000000##FFFFFF
##2B4C831.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335185
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4c83;
/* rgb */ color: rgb(43, 76, 131);
/* oklch */ color: oklch(42.0% 0.100 260.0);
Tailwind
colors: {
  custom: {
    50: '#6e7da7',
    500: '#2b4c83',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c83;
$custom-light: #6e7da7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c83",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 131
  },
  "hsl": {
    "h": 217.5,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.09987,
    "h": 260
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#2B4C83
secondary
#B0905A
accent
#A54EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4C83

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

Preview Lab → · Contrast checker → · Palette generator →

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