#2B4587#2B4587

#2B4587 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.115 H 265.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2B4587
RGBrgb(43, 69, 135)
HSLhsl(223, 52%, 35%)
HSVhsv(223, 68%, 53%)
CMYKcmyk(68.1%, 48.9%, 0%, 47.1%)
CIE-LABlab(30.68, 13.20, -39.95)
CIE-LCHlch(30.68, 42.08, 288.28°)
OKLaboklab(40.71% -0.0091 -0.1144)
OKLCHoklch(40.71% 0.115 265.4)
XYZxyz(7.4960, 6.5184, 23.7801)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4587 #876D2B
analogous
#2B7387 #2B4587 #3F2B87
triadic
#2B4587 #872B45 #45872B
tetradic
#2B4587 #872B73 #876D2B #2B873F
square
#2B4587 #872B73 #876D2B #2B873F
split-complementary
#2B4587 #873F2B #73872B
monochromatic
#0D162A #1C2D59 #2B4587 #3A5DB5 #607FCC

Accessibility & contrast

On white

9.12
#2B4587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B4587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4587
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4587#FFFFFF#000000##FFFFFF
##2B45871.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b4587;
/* rgb */ color: rgb(43, 69, 135);
/* oklch */ color: oklch(40.7% 0.115 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f78aa',
    500: '#2b4587',
    950: '#000000',
  },
}
SCSS
$custom: #2b4587;
$custom-light: #6f78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4587",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 223.043,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.11475,
    "h": 265.4
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#2B4587
secondary
#B29A5B
accent
#B34DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4587

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

Preview Lab → · Contrast checker → · Palette generator →

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