#2B4480#2B4480

#2B4480 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.106 H 265.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2B4480
RGBrgb(43, 68, 128)
HSLhsl(222, 50%, 34%)
HSVhsv(222, 66%, 50%)
CMYKcmyk(66.4%, 46.9%, 0%, 49.8%)
CIE-LABlab(29.93, 11.21, -36.83)
CIE-LCHlch(29.93, 38.49, 286.93°)
OKLaboklab(39.98% -0.0092 -0.1052)
OKLCHoklch(39.98% 0.106 265)
XYZxyz(6.9583, 6.2057, 21.2490)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4480 #80672B
analogous
#2B6E80 #2B4480 #3C2B80
triadic
#2B4480 #802B44 #44802B
tetradic
#2B4480 #802B6E #80672B #2B803C
square
#2B4480 #802B6E #80672B #2B803C
split-complementary
#2B4480 #803C2B #6E802B
monochromatic
#0C1324 #1C2C52 #2B4480 #3A5CAE #5D7DC9

Accessibility & contrast

On white

9.37
#2B4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4480
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4480#FFFFFF#000000##FFFFFF
##2B44801.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4480;
/* rgb */ color: rgb(43, 68, 128);
/* oklch */ color: oklch(40.0% 0.106 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e77a5',
    500: '#2b4480',
    950: '#000000',
  },
}
SCSS
$custom: #2b4480;
$custom-light: #6e77a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4480",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 222.353,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.10562,
    "h": 265
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#2B4480
secondary
#AE9558
accent
#B04FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4480

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

Preview Lab → · Contrast checker → · Palette generator →

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