#2B4584#2B4584

#2B4584 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.110 H 265.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B4584
RGBrgb(43, 69, 132)
HSLhsl(222, 51%, 34%)
HSVhsv(222, 67%, 52%)
CMYKcmyk(67.4%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.48, 12.05, -38.42)
CIE-LCHlch(30.48, 40.26, 287.42°)
OKLaboklab(40.49% -0.0096 -0.1099)
OKLCHoklch(40.49% 0.11 265)
XYZxyz(7.2878, 6.4351, 22.6834)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4584 #846A2B
analogous
#2B7284 #2B4584 #3E2B84
triadic
#2B4584 #842B45 #45842B
tetradic
#2B4584 #842B72 #846A2B #2B843E
square
#2B4584 #842B72 #846A2B #2B843E
split-complementary
#2B4584 #843E2B #72842B
monochromatic
#0D1528 #1C2D56 #2B4584 #3A5DB2 #5F7ECB

Accessibility & contrast

On white

9.18
#2B4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4584
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4584#FFFFFF#000000##FFFFFF
##2B45841.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#154483
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4584;
/* rgb */ color: rgb(43, 69, 132);
/* oklch */ color: oklch(40.5% 0.110 265.0);
Tailwind
colors: {
  custom: {
    50: '#6f78a8',
    500: '#2b4584',
    950: '#000000',
  },
}
SCSS
$custom: #2b4584;
$custom-light: #6f78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4584",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 222.472,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.11029,
    "h": 265
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#2B4584
secondary
#B1975A
accent
#B14DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4584

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

Preview Lab → · Contrast checker → · Palette generator →

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