#2B4082#2B4082

#2B4082 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.114 H 267.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2B4082
RGBrgb(43, 64, 130)
HSLhsl(226, 50%, 34%)
HSVhsv(226, 67%, 51%)
CMYKcmyk(66.9%, 50.8%, 0%, 49%)
CIE-LABlab(28.88, 14.70, -39.75)
CIE-LCHlch(28.88, 42.38, 290.30°)
OKLaboklab(39.22% -0.0047 -0.1139)
OKLCHoklch(39.22% 0.114 267.6)
XYZxyz(6.8575, 5.7915, 21.8712)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4082 #826D2B
analogous
#2B6C82 #2B4082 #422B82
triadic
#2B4082 #822B40 #40822B
tetradic
#2B4082 #822B6C #826D2B #2B8242
square
#2B4082 #822B6C #826D2B #2B8242
split-complementary
#2B4082 #82422B #6C822B
monochromatic
#0D1326 #1C2954 #2B4082 #3A57B0 #5E78CA

Accessibility & contrast

On white

9.73
#2B4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4082
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4082#FFFFFF#000000##FFFFFF
##2B40821.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#074081
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4082;
/* rgb */ color: rgb(43, 64, 130);
/* oklch */ color: oklch(39.2% 0.114 267.6);
Tailwind
colors: {
  custom: {
    50: '#6e74a7',
    500: '#2b4082',
    950: '#000000',
  },
}
SCSS
$custom: #2b4082;
$custom-light: #6e74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4082",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 225.517,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39222,
    "c": 0.11397,
    "h": 267.6
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#2B4082
secondary
#B09B59
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4082

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

Preview Lab → · Contrast checker → · Palette generator →

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