#2B4883#2B4883

#2B4883 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.105 H 262.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2B4883
RGBrgb(43, 72, 131)
HSLhsl(220, 51%, 34%)
HSVhsv(220, 67%, 51%)
CMYKcmyk(67.2%, 45%, 0%, 48.6%)
CIE-LABlab(31.32, 9.64, -36.47)
CIE-LCHlch(31.32, 37.72, 284.81°)
OKLaboklab(41.11% -0.0129 -0.1041)
OKLCHoklch(41.11% 0.105 262.9)
XYZxyz(7.4089, 6.7863, 22.3878)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4883 #83662B
analogous
#2B7483 #2B4883 #3A2B83
triadic
#2B4883 #832B48 #48832B
tetradic
#2B4883 #832B74 #83662B #2B833A
square
#2B4883 #832B74 #83662B #2B833A
split-complementary
#2B4883 #833A2B #74832B
monochromatic
#0D1527 #1C2F55 #2B4883 #3A61B1 #5E82CA

Accessibility & contrast

On white

8.91
#2B4883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B4883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4883
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4883#FFFFFF#000000##FFFFFF
##2B48831.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4883;
/* rgb */ color: rgb(43, 72, 131);
/* oklch */ color: oklch(41.1% 0.105 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e7aa7',
    500: '#2b4883',
    950: '#000000',
  },
}
SCSS
$custom: #2b4883;
$custom-light: #6e7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4883",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 220.227,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.1049,
    "h": 262.9
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#2B4883
secondary
#B0945A
accent
#AC4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B4883

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

Preview Lab → · Contrast checker → · Palette generator →

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