#2B4885#2B4885

#2B4885 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.108 H 263.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2B4885
RGBrgb(43, 72, 133)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 68%, 52%)
CMYKcmyk(67.7%, 45.9%, 0%, 47.8%)
CIE-LABlab(31.44, 10.40, -37.50)
CIE-LCHlch(31.44, 38.92, 285.50°)
OKLaboklab(41.25% -0.0126 -0.1071)
OKLCHoklch(41.25% 0.108 263.3)
XYZxyz(7.5458, 6.8411, 23.1085)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4885 #85682B
analogous
#2B7585 #2B4885 #3B2B85
triadic
#2B4885 #852B48 #48852B
tetradic
#2B4885 #852B75 #85682B #2B853B
square
#2B4885 #852B75 #85682B #2B853B
split-complementary
#2B4885 #853B2B #75852B
monochromatic
#0D1629 #1C2F57 #2B4885 #3A61B3 #5F82CB

Accessibility & contrast

On white

8.87
#2B4885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B4885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4885
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4885#FFFFFF#000000##FFFFFF
##2B48851.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E87
Deuteranopia (green-blind)
#1B4684
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4885;
/* rgb */ color: rgb(43, 72, 133);
/* oklch */ color: oklch(41.2% 0.108 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f7aa9',
    500: '#2b4885',
    950: '#000000',
  },
}
SCSS
$custom: #2b4885;
$custom-light: #6f7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4885",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 220.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.10787,
    "h": 263.3
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#2B4885
secondary
#B1955B
accent
#AD4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4885

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

Preview Lab → · Contrast checker → · Palette generator →

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