#2B4D8B#2B4D8B

#2B4D8B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.110 H 261.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2B4D8B
RGBrgb(43, 77, 139)
HSLhsl(219, 53%, 36%)
HSVhsv(219, 69%, 55%)
CMYKcmyk(69.1%, 44.6%, 0%, 45.5%)
CIE-LABlab(33.32, 9.33, -38.20)
CIE-LCHlch(33.32, 39.32, 283.73°)
OKLaboklab(42.81% -0.0166 -0.1091)
OKLCHoklch(42.81% 0.11 261.3)
XYZxyz(8.3087, 7.6846, 25.4665)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D8B #8B692B
analogous
#2B7D8B #2B4D8B #392B8B
triadic
#2B4D8B #8B2B4D #4D8B2B
tetradic
#2B4D8B #8B2B7D #8B692B #2B8B39
square
#2B4D8B #8B2B7D #8B692B #2B8B39
split-complementary
#2B4D8B #8B392B #7D8B2B
monochromatic
#0E192E #1D335C #2B4D8B #3967BA #6288CE

Accessibility & contrast

On white

8.28
#2B4D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B4D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D8B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D8B#FFFFFF#000000##FFFFFF
##2B4D8B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4d8b;
/* rgb */ color: rgb(43, 77, 139);
/* oklch */ color: oklch(42.8% 0.110 261.3);
Tailwind
colors: {
  custom: {
    50: '#707ead',
    500: '#2b4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d8b;
$custom-light: #707ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d8b",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 218.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.11036,
    "h": 261.3
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#2B4D8B
secondary
#B5965D
accent
#A94CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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