#2B4380#2B4380

#2B4380 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.107 H 265.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4380
RGBrgb(43, 67, 128)
HSLhsl(223, 50%, 34%)
HSVhsv(223, 66%, 50%)
CMYKcmyk(66.4%, 47.7%, 0%, 49.8%)
CIE-LABlab(29.63, 11.89, -37.30)
CIE-LCHlch(29.63, 39.15, 287.68°)
OKLaboklab(39.75% -0.0081 -0.1066)
OKLCHoklch(39.75% 0.107 265.6)
XYZxyz(6.8984, 6.0858, 21.2290)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4380 #80682B
analogous
#2B6D80 #2B4380 #3D2B80
triadic
#2B4380 #802B43 #43802B
tetradic
#2B4380 #802B6D #80682B #2B803D
square
#2B4380 #802B6D #80682B #2B803D
split-complementary
#2B4380 #803D2B #6D802B
monochromatic
#0C1324 #1C2B52 #2B4380 #3A5BAE #5D7BC9

Accessibility & contrast

On white

9.47
#2B4380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4380
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4380#FFFFFF#000000##FFFFFF
##2B43801.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#16427F
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4380;
/* rgb */ color: rgb(43, 67, 128);
/* oklch */ color: oklch(39.7% 0.107 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e76a5',
    500: '#2b4380',
    950: '#000000',
  },
}
SCSS
$custom: #2b4380;
$custom-light: #6e76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4380",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 223.059,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.10694,
    "h": 265.6
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#2B4380
secondary
#AE9658
accent
#B24FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4380

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

Preview Lab → · Contrast checker → · Palette generator →

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